RouteState class
Router state for navme router delegate basede on Uri
- Annotations
Constructors
- RouteState({required Uri? uri, Object? uriState, Object? innerState})
- create state from Uri, state based on web navigation model
Properties
- firstPath → String?
-
helper for condition with first path
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- hasParams → bool
-
has queryParameters?
no setter
- innerState → Object?
-
an inner app state so that web browser cannot restore the state
final
- location → String
-
uri => string
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri?
-
current Uri
final
- uriState → Object?
-
an uri app state so that the app can have different states
even in the same uri, must be serializable
final
Methods
-
diff(
String? nestedPrefixPath) → RouteState - remove nestedPrefixPath from uri
-
getQueryValue(
String key) → String? - safe gettter for queryParameters
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override