copyWith method
FieldMetadata
copyWith(
{ - List? allowedValues,
- String? autoCompleteUrl,
- Map<String, dynamic>? configuration,
- dynamic defaultValue,
- bool? hasDefaultValue,
- String? key,
- String? name,
- List<String>? operations,
- bool? required,
- JsonTypeBean? schema,
})
Implementation
FieldMetadata copyWith(
{List<dynamic>? allowedValues,
String? autoCompleteUrl,
Map<String, dynamic>? configuration,
dynamic defaultValue,
bool? hasDefaultValue,
String? key,
String? name,
List<String>? operations,
bool? required,
JsonTypeBean? schema}) {
return FieldMetadata(
allowedValues: allowedValues ?? this.allowedValues,
autoCompleteUrl: autoCompleteUrl ?? this.autoCompleteUrl,
configuration: configuration ?? this.configuration,
defaultValue: defaultValue ?? this.defaultValue,
hasDefaultValue: hasDefaultValue ?? this.hasDefaultValue,
key: key ?? this.key,
name: name ?? this.name,
operations: operations ?? this.operations,
required: required ?? this.required,
schema: schema ?? this.schema,
);
}