RouteState class
Constructors
-
RouteState({required String location, required String subloc, required String? name, String? path, String? fullpath, Map<String, String> params = const <String, String>{}, Map<String, String> queryParams = const <String, String>{}, Map<String, List<String>> queryParametersAll = const <String, List<String>>{}, Exception? error})
-
const
Properties
-
error
→ Exception?
-
The error associated with this sub-route.
final
-
An extra object to pass along with the navigation.
final
-
fullpath
→ String?
-
The full path to this sub-route, e.g. /family/:fid
final
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
location
→ String
-
The full location of the route, e.g. /family/f2/person/p1
final
-
name
→ String?
-
The optional name of the route.
final
-
params
→ Map<String, String>
-
The parameters for this sub-route, e.g. {'fid': 'f2'}
final
-
path
→ String?
-
The path to this sub-route, e.g. family/:fid
final
-
queryParametersAll
→ Map<String, List<String>>
-
The query parameters for the location,
e.g.
{'q1': ['v1'], 'q2': ['v2', 'v3']}
final
-
queryParams
→ Map<String, String>
-
The query parameters for the location, e.g. {'from': '/family/f2'}
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
subloc
→ String
-
The location of this sub-route, e.g. /family/f2
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