RouteMatch<T> constructor
RouteMatch<T> ({
- required AutoRoute config,
- required List<
String> segments, - required String stringMatch,
- required LocalKey key,
- List<
RouteMatch> ? children, - T? args,
- Parameters params = const Parameters({}),
- Parameters queryParams = const Parameters({}),
- String fragment = '',
- String? redirectedFrom,
- bool autoFilled = false,
Default constructor
Implementation
RouteMatch({
required AutoRoute config,
required this.segments,
required this.stringMatch,
required this.key,
this.children,
this.args,
this.params = const Parameters({}),
this.queryParams = const Parameters({}),
this.fragment = '',
this.redirectedFrom,
this.autoFilled = false,
}) : _config = config,
_evaluatedGuards = const [],
id = UniqueKey();