copyWith method

FieldConfiguration copyWith({
  1. String? description,
  2. int? id,
  3. bool? isDefault,
  4. String? name,
})

Implementation

FieldConfiguration copyWith(
    {String? description, int? id, bool? isDefault, String? name}) {
  return FieldConfiguration(
    description: description ?? this.description,
    id: id ?? this.id,
    isDefault: isDefault ?? this.isDefault,
    name: name ?? this.name,
  );
}