copyWith abstract method

ModularRoute copyWith({
  1. String? name,
  2. List<Middleware>? middlewares,
  3. List<ModularRoute>? children,
  4. String? parent,
  5. String? schema,
  6. RouteContext? context,
  7. Uri? uri,
  8. Map<ModularKey, ModularRoute>? routeMap,
  9. Map<Type, BindContext>? bindContextEntries,
})

Implementation

ModularRoute copyWith({
  String? name,
  List<Middleware>? middlewares,
  List<ModularRoute>? children,
  String? parent,
  String? schema,
  RouteContext? context,
  Uri? uri,
  Map<ModularKey, ModularRoute>? routeMap,
  Map<Type, BindContext>? bindContextEntries,
});