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.
no setteroverride
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.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
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.