PageRouteInfo<T extends Object?> constructor

const PageRouteInfo<T extends Object?>(
  1. String _name, {
  2. List<PageRouteInfo<Object?>>? initialChildren,
  3. T? args,
  4. Map<String, dynamic> rawPathParams = const {},
  5. Map<String, dynamic> rawQueryParams = const {},
  6. String? fragment,
  7. String? stringMatch,
  8. String? redirectedFrom,
  9. bool argsEquality = true,
})

Default constructor

Implementation

const PageRouteInfo(
  this._name, {
  this.initialChildren,
  this.args,
  this.rawPathParams = const {},
  this.rawQueryParams = const {},
  String? fragment,
  this.stringMatch,
  this.redirectedFrom,
  this.argsEquality = true,
}) : fragment = fragment ?? '';