copyWith abstract method

RouteConfig copyWith({
  1. String? name,
  2. String? pathName,
  3. MapEntry<String, String>? className,
  4. bool? fullscreenDialog,
  5. bool? maintainState,
  6. String? returnType,
  7. List<RouteParamConfig>? parameters,
  8. bool? hasWrapper,
  9. List<RouteConfig>? children,
  10. bool? hasConstConstructor,
  11. Set<String>? imports,
  12. String? parentClassName,
})

Implementation

RouteConfig copyWith({
  String? name,
  String? pathName,
  MapEntry<String, String>? className,
  bool? fullscreenDialog,
  bool? maintainState,
  String? returnType,
  List<RouteParamConfig>? parameters,
  bool? hasWrapper,
  List<RouteConfig>? children,
  bool? hasConstConstructor,
  Set<String>? imports,
  String? parentClassName,
});