RouteMatch<T> constructor

const RouteMatch<T>({
  1. required AutoRoute config,
  2. required List<String> segments,
  3. required String stringMatch,
  4. required LocalKey key,
  5. List<RouteMatch>? children,
  6. T? args,
  7. Parameters pathParams = const Parameters({}),
  8. Parameters queryParams = const Parameters({}),
  9. String fragment = '',
  10. String? redirectedFrom,
  11. bool autoFilled = false,
})

Default constructor

Implementation

const RouteMatch({
  required AutoRoute config,
  required this.segments,
  required this.stringMatch,
  required this.key,
  this.children,
  this.args,
  this.pathParams = const Parameters({}),
  this.queryParams = const Parameters({}),
  this.fragment = '',
  this.redirectedFrom,
  this.autoFilled = false,
}) : _config = config;