AppRouteInformationParser class

Parser inspired by https://github.com/acoutts/flutter_nav_2.0_mobx/blob/master/lib/main.dart Converts a route into the user class type,

Inheritance

Constructors

AppRouteInformationParser()
Instantiate only one instance of the Parser.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
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) Future<AppRoutePath>
Converts the given route information into parsed data to pass to a RouterDelegate.
override
parseRouteInformationWithDependencies(RouteInformation routeInformation, BuildContext context) Future<AppRoutePath>
Converts the given route information into parsed data to pass to a RouterDelegate.
inherited
restoreRouteInformation(AppRoutePath configuration) RouteInformation?
Restore to the current configuration It is the responsibility of the delegate to restore its internal state based on the provided configuration.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited