RouteInformationParser<T> class
A delegate that is used by the Router widget to parse a route information into a configuration of type T.
This delegate is used when the Router widget is first built with initial route information from Router.routeInformationProvider and any subsequent new route notifications from it. The parseRouteInformation widget calls the parseRouteInformation with the route information.
Constructors
- RouteInformationParser()
-
Abstract const constructor. This constructor enables subclasses to provide
const constructors so that they can be used in const expressions.
const
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
parseRouteInformation(
RouteInformation routeInformation ) → Future< T> - Converts the given route information into parsed data to pass to a RouterDelegate. [...]
-
restoreRouteInformation(
T configuration ) → RouteInformation - Restore the route information from the given configuration. [...]
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other ) → bool -
The equality operator. [...]
inherited