MuffinInformationParser class

Inheritance

Constructors

MuffinInformationParser(UrlParser urlParser, {String initialRoute = '/', Map<String, Object> arguments = const {}})

Properties

arguments Map<String, Object>
也可以添加一些在initialRoute中无法得到的参数
final
hashCode int
The hash code for this object.
no setterinherited
initialRoute String
可以通过Uri解析的 route
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
urlParser UrlParser
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseRouteInformation(RouteInformation routeInformation) SynchronousFuture<RouteConfig>
Converts the given route information into parsed data to pass to a RouterDelegate.
override
parseRouteInformationWithDependencies(RouteInformation routeInformation, BuildContext context) Future<RouteConfig>
Converts the given route information into parsed data to pass to a RouterDelegate.
inherited
restoreRouteInformation(RouteConfig config) 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