copyWith method

CustomerRequestFieldValueDTO copyWith({
  1. String? fieldId,
  2. String? label,
  3. Map<String, dynamic>? renderedValue,
  4. dynamic value,
})

Implementation

CustomerRequestFieldValueDTO copyWith(
    {String? fieldId,
    String? label,
    Map<String, dynamic>? renderedValue,
    dynamic value}) {
  return CustomerRequestFieldValueDTO(
    fieldId: fieldId ?? this.fieldId,
    label: label ?? this.label,
    renderedValue: renderedValue ?? this.renderedValue,
    value: value ?? this.value,
  );
}