UriTemplateCompletableAppRoute<R, P extends RouteParams> class Null safety

Inheritance
Available Extensions

Constructors

UriTemplateCompletableAppRoute(UriTemplate uriTemplate, CompletableHandler<R, P> handler, ParameterConverter<P> paramConverter, {String? name, ToRouteTitle<P>? toRouteTitle})
UriTemplateCompletableAppRoute.ofUri(String uri, CompletableHandler<R, P> handler, ParameterConverter<P> paramConverter, {required String name, TransitionType? transitionType, ToRouteTitle<P>? toRouteTitle})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
name String?
The friendly name of the route
final, inherited
paramConverter ParameterConverter<P>
Used to convert to typed parameters
final, inherited
route String
The uri or name of hte route
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
toRouteUri ToRouteUri?
Builds a route uri for given parameters
final, inherited
uriTemplate UriTemplate
final

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
inherited
handle(BuildContext context, P params, SendRoute sender) Future<R>
inherited
handleAny(BuildContext context, dynamic params, SendRoute sender) Future
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
routeTitle([P? params]) String?
inherited
routeUri(dynamic params) String?
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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