RouteConfiguration class

Application's route configuration used to determine the current router state to parse from/to RouteInformation.

Constructors

RouteConfiguration(String route, {HomeTab? tab, bool authorized = true, Map<String, dynamic> arguments = const {}})

Properties

arguments Map<String, dynamic>
Query parameters of the route.
getter/setter pair
authorized bool
Whether current user is logged in or not.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
route String
Current route as a String value.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tab HomeTab?
Current Routes.home HomeTab value. Non null if current route is Routes.home.
final

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.
inherited