copyWith method

CustomFieldContextDefaultValueCascadingOption copyWith({
  1. String? cascadingOptionId,
  2. String? contextId,
  3. String? optionId,
  4. String? type,
})

Implementation

CustomFieldContextDefaultValueCascadingOption copyWith(
    {String? cascadingOptionId,
    String? contextId,
    String? optionId,
    String? type}) {
  return CustomFieldContextDefaultValueCascadingOption(
    cascadingOptionId: cascadingOptionId ?? this.cascadingOptionId,
    contextId: contextId ?? this.contextId,
    optionId: optionId ?? this.optionId,
    type: type ?? this.type,
  );
}