Implementation
FieldData copyWith(
{String? id,
DateTime? created,
DateTime? updated,
FieldType? type,
String? name,
bool? system,
bool? required,
bool? unique,
String? collectionId,
String? extra}) =>
FieldData(
id: id ?? this.id,
created: created ?? this.created,
updated: updated ?? this.updated,
type: type ?? this.type,
name: name ?? this.name,
system: system ?? this.system,
required: required ?? this.required,
unique: unique ?? this.unique,
collectionId: collectionId ?? this.collectionId,
extra: extra ?? this.extra,
);