copyWith abstract method

ModularRoute copyWith({
  1. String? name,
  2. String? schema,
  3. List<ModularRoute>? children,
  4. List<Middleware>? middlewares,
  5. Map<Type, Module>? innerModules,
  6. Uri? uri,
  7. String? parent,
  8. Module? module,
})

Implementation

ModularRoute copyWith({
  String? name,
  String? schema,
  List<ModularRoute>? children,
  List<Middleware>? middlewares,
  Map<Type, Module>? innerModules,
  Uri? uri,
  String? parent,
  Module? module,
});