RouteMatch<T> constructor
const
RouteMatch<T> ({
- required String name,
- required List<
String> segments, - required String path,
- required String stringMatch,
- required LocalKey key,
- bool isBranch = false,
- List<
RouteMatch> ? children, - T? args,
- List<
StackedRouteGuard> guards = const [], - Parameters pathParams = const Parameters({}),
- Parameters queryParams = const Parameters({}),
- String fragment = '',
- String? redirectedFrom,
- Map<
String, dynamic> meta = const {},
Implementation
const RouteMatch({
required this.name,
required this.segments,
required this.path,
required this.stringMatch,
required this.key,
this.isBranch = false,
this.children,
this.args,
this.guards = const [],
this.pathParams = const Parameters({}),
this.queryParams = const Parameters({}),
this.fragment = '',
this.redirectedFrom,
this.meta = const {},
});