copyWith method
JsonWidgetRegistry
copyWith({
- Map<
String, JsonWidgetBuilderContainer> ? builders, - String? debugLabel,
- bool? disableValidation,
- Map<
String, JsonWidgetFunction> ? functions, - List<
ArgProcessor> ? argProcessors, - JsonWidgetRegistry? parent,
- Map<
String, dynamic> ? values,
Implementation
JsonWidgetRegistry copyWith({
Map<String, JsonWidgetBuilderContainer>? builders,
String? debugLabel,
bool? disableValidation,
Map<String, JsonWidgetFunction>? functions,
GlobalKey<NavigatorState>? navigatorKey,
List<ArgProcessor>? argProcessors,
JsonWidgetRegistry? parent,
Map<String, dynamic>? values,
}) =>
JsonWidgetRegistry(
builders: builders ?? Map.from(_builders),
debugLabel: debugLabel ?? this.debugLabel,
disableValidation: disableValidation ?? this.disableValidation,
functions: functions ?? _functions,
navigatorKey: navigatorKey ?? this.navigatorKey,
parent: parent ?? this,
argProcessors: argProcessors ?? _argProcessors,
values: values ?? Map.from(_values),
);