RouteArgs class

Route arguments. Contains pathArgs and body. See RegexRouter for example.

Constructors

RouteArgs(Map<String, String> pathArgs, [Object body])
Route arguments constructor.

Properties

body Object
Object passed to NavigatorState.push or NavigatorState.pushNamed arguments parameter. Null if no additional argument was specified.
final
hashCode int
The hash code for this object. [...]
read-only, override
pathArgs Map<String, String>
All path arguments. Empty map if no arguments were provided.
final
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
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
override
operator [](String key) String
Gets path argument from pathArgs by given key.