RouteState constructor

const RouteState({
  1. required String location,
  2. required String subloc,
  3. required String? name,
  4. String? path,
  5. String? fullpath,
  6. Map<String, String> params = const <String, String>{},
  7. Map<String, String> queryParams = const <String, String>{},
  8. Map<String, List<String>> queryParametersAll = const <String, List<String>>{},
  9. Object? extra,
  10. Exception? error,
})

Implementation

const RouteState({
  required this.location,
  required this.subloc,
  required this.name,
  this.path,
  this.fullpath,
  this.params = const <String, String>{},
  this.queryParams = const <String, String>{},
  this.queryParametersAll = const <String, List<String>>{},
  this.extra,
  this.error,
});