RouteDecoder class
MuffinRouterDelegate.toNamed(String page) 方法,解析 page,获取匹配到的MuffinPage 解析方法为ParseRouteTree matchRoute 方法,并携带page参数的解析,以及arguments
Constructors
-
RouteDecoder(List<
MuffinPage> treeBranch, Map<String, String> parameters, Object? arguments)
Properties
- arguments → Object?
-
final
- currentRoute → MuffinPage?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
parameters
→ Map<
String, String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
treeBranch
→ List<
MuffinPage> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
replaceArguments(
Object? arguments) → void -
replaceParameters(
Map< String, String> params) → void -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited