RouteSnapshot class
A resolved, context-free snapshot of one router-managed page.
Collection arguments and metadata are copied recursively into read-only views. Opaque application objects remain references: Dart cannot make an arbitrary model immutable. definition is the original registration; inspect data for a collection snapshot of its metadata.
Properties
-
data
→ Map<
String, Object> ? -
final
- definition → RouteDefiner?
-
Null for an unmatched location. This does not imply access was granted.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → RouteState
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited