copyWith method

CustomFieldContextOption copyWith({
  1. bool? disabled,
  2. String? id,
  3. String? optionId,
  4. String? value,
})

Implementation

CustomFieldContextOption copyWith(
    {bool? disabled, String? id, String? optionId, String? value}) {
  return CustomFieldContextOption(
    disabled: disabled ?? this.disabled,
    id: id ?? this.id,
    optionId: optionId ?? this.optionId,
    value: value ?? this.value,
  );
}