copyWith method
JsonWidgetData
copyWith({
- dynamic args,
- JsonWidgetBuilder? builder,
- List<
JsonWidgetData> ? children, - Set<
String> ? listenVariables, - String? id,
- dynamic originalChild,
- dynamic originalChildren,
- JsonWidgetRegistry? registry,
- String? type,
Implementation
JsonWidgetData copyWith({
dynamic args,
JsonWidgetBuilder? builder,
List<JsonWidgetData>? children,
Set<String>? listenVariables,
String? id,
dynamic originalChild,
dynamic originalChildren,
JsonWidgetRegistry? registry,
String? type,
}) =>
JsonWidgetData(
args: args ?? this.args,
builder: builder as JsonWidgetBuilder Function()? ?? this.builder,
children: children ?? this.children,
listenVariables: listenVariables ?? this.listenVariables,
id: id ?? this.id,
originalChild: originalChild ?? this.originalChild,
originalChildren: originalChildren ?? this.originalChildren,
registry: registry ?? this.registry,
type: type ?? this.type,
);