TemplateRouteParser class
- Inheritance
-
- Object
- RouteInformationParser<
ParsedRoute> - TemplateRouteParser
Constructors
-
TemplateRouteParser({required List<
String> allowedPaths, String initialRoute = '/', RouteGuard<ParsedRoute> ? guard})
Properties
-
guard
→ RouteGuard<
ParsedRoute> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialRoute → ParsedRoute
-
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) → Future< ParsedRoute> -
Converts the given route information into parsed data to pass to a
RouterDelegate.
override
-
parseRouteInformationWithDependencies(
RouteInformation routeInformation, BuildContext context) → Future< ParsedRoute> -
Converts the given route information into parsed data to pass to a
RouterDelegate.
inherited
-
restoreRouteInformation(
ParsedRoute 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