AppRouteMatch<R, P extends RouteParams> class Null safety

Represents the combination of the route definition AppRoute as well as the specific parameters to create an instance of that route.

Using these two pieces of information, a caller could then push the route, overlay, etc. In other words, this class tries to abstract away how the the route is displayed from what the route is.

Constructors

AppRouteMatch(AppRoute<dynamic, RouteParams>? route, RouteParams parameters)
const
AppRouteMatch.builder(String route, {required WidgetBuilder builder, String? name})
AppRouteMatch.missing()
AppRouteMatch.ofMap(AppRoute<dynamic, RouteParams>? route, Map<String, dynamic>? rawParams)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
isMissing bool
read-only
parameters RouteParams
final
route AppRoute<dynamic, RouteParams>?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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