AppRoute<R, P extends RouteParams> class Null safety

Base class for app routes. See AppPageRoute and CompletableAppRoute

Implementers

Constructors

AppRoute()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
name String?
read-only
paramConverter ParameterConverter<P>?
Function to convert parameters to the type expected by this route
read-only
route String
The route template string
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
toRouteUri ToRouteUri?
Function for creating route uris
read-only

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 non-existent 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