AppRoute<R, P extends RouteParams> class abstract

Base class for app routes. See AppPageRoute and CompletableAppRoute

Implementers

Constructors

AppRoute()

Properties

hashCode int
The hash code for this object.
no setterinherited
name String?
no setter
paramConverter ParameterConverter<P>?
Function to convert parameters to the type expected by this route
no setter
route String
The route template string
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toRouteUri ToRouteUri?
Function for creating route uris
no setter

Methods

cast<RR, PP extends RouteParams>() AppRoute<RR, PP>
Casts this route to the expected type. If the cast is invalid, you may have errors when running the functions because parameters are not cast correctly
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
routeTitle([P? params]) String?
routeUri(dynamic params) String?
toString() String
A string representation of this object.
inherited

Operators

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