copyWith method
CockpitWidgetTreeOptions
copyWith({
- CockpitWidgetTreeProfile? profile,
- int? maxNodes,
- int? maxProps,
Returns a copy with the supplied fields replaced.
Implementation
CockpitWidgetTreeOptions copyWith({
CockpitWidgetTreeProfile? profile,
int? maxNodes,
int? maxProps,
}) => CockpitWidgetTreeOptions(
profile: profile ?? this.profile,
maxNodes: maxNodes ?? this.maxNodes,
maxProps: maxProps ?? this.maxProps,
);