copyWith method

CustomFieldDefinitionJsonBean copyWith({
  1. String? description,
  2. String? name,
  3. CustomFieldDefinitionJsonBeanSearcherKey? searcherKey,
  4. String? type,
})

Implementation

CustomFieldDefinitionJsonBean copyWith(
    {String? description,
    String? name,
    CustomFieldDefinitionJsonBeanSearcherKey? searcherKey,
    String? type}) {
  return CustomFieldDefinitionJsonBean(
    description: description ?? this.description,
    name: name ?? this.name,
    searcherKey: searcherKey ?? this.searcherKey,
    type: type ?? this.type,
  );
}