MockGoRouterState class
Properties
-
error
→ GoException?
-
The error associated with this sub-route.
finalinherited
-
An extra object to pass along with the navigation.
finalinherited
-
fullPath
→ String?
-
The full path to this sub-route, e.g. /family/:fid
finalinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
matchedLocation
→ String
-
The matched location until this point.
finalinherited
-
name
→ String?
-
The optional name of the route associated with this app.
finalinherited
-
pageKey
→ ValueKey<String>
-
A unique string key for this sub-route.
E.g.
finalinherited
-
path
→ String?
-
The path of the route associated with this app. e.g. family/:fid
finalinherited
-
pathParameters
→ Map<String, String>
-
The parameters for this match, e.g. {'fid': 'f2'}
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
topRoute
→ GoRoute?
-
The current matched top route associated with this state.
finalinherited
-
uri
→ Uri
-
The full uri of the route, e.g. /family/f2/person/p1?filter=name#fragment
finalinherited
Methods
-
namedLocation(String name, {Map<String, String> pathParameters = const <String, String>{}, Map<String, String> queryParameters = const <String, String>{}})
→ String
-
Get a location from route name and parameters.
This is useful for redirecting to a named location.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited