RouteMatch<T> constructor

const RouteMatch<T>({
  1. required String name,
  2. required List<String> segments,
  3. required String path,
  4. required String stringMatch,
  5. required LocalKey key,
  6. bool isBranch = false,
  7. List<RouteMatch>? children,
  8. T? args,
  9. List<StackedRouteGuard> guards = const [],
  10. Parameters pathParams = const Parameters({}),
  11. Parameters queryParams = const Parameters({}),
  12. String fragment = '',
  13. String? redirectedFrom,
  14. 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 {},
});