RouteRequest class

Represents a request to manage a route with its associated configurations.

Constructors

RouteRequest({required dynamic arguments, required RouteType type, required bool rootNavigator})
Creates a RouteRequest with the provided arguments and type.
RouteRequest.fromJson(String source)
Creates a RouteRequest from its JSON representation.
factory
RouteRequest.fromMap(Map<String, dynamic> map)
Creates a RouteRequest from its map representation.
factory

Properties

arguments → dynamic
The arguments of the route.
final
hashCode int
The hash code for this object.
no setterinherited
rootNavigator bool
If rootNavigator is set to true, the state from the furthest instance of this class is given instead. Useful for pushing contents above all subsequent instances of Navigator.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type RouteType
The type of the route.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Converts the RouteRequest to its JSON representation.
toMap() Map<String, dynamic>
Converts the RouteRequest to a map representation.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited