GetInformationParser<T> class
A route information parser for decoding route information into RouteDecoder.
- Inheritance
-
- Object
- RouteInformationParser<
RouteDecoder< T> > - GetInformationParser
Constructors
- GetInformationParser({required String initialRoute})
- Creates a GetInformationParser instance with the provided initial route.
- GetInformationParser.createInformationParser({String initialRoute = "/"})
-
Creates a GetInformationParser instance with the provided initial route.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialRoute → String
-
The initial route to navigate to if the current location is empty or "/" and there is no corresponding page registered.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseRouteInformation(
RouteInformation routeInformation) → SynchronousFuture< RouteDecoder< T> > -
Converts the given route information into parsed data to pass to a
RouterDelegate.
override
-
parseRouteInformationWithDependencies(
RouteInformation routeInformation, BuildContext context) → Future< RouteDecoder< T> > -
Converts the given route information into parsed data to pass to a
RouterDelegate.
inherited
-
restoreRouteInformation(
RouteDecoder< T> configuration) → RouteInformation -
Restore the route information from the given configuration.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited