copyWith method

RequestTypeFieldValueDTO copyWith({
  1. List<RequestTypeFieldValueDTO>? children,
  2. String? label,
  3. String? value,
})

Implementation

RequestTypeFieldValueDTO copyWith(
    {List<RequestTypeFieldValueDTO>? children,
    String? label,
    String? value}) {
  return RequestTypeFieldValueDTO(
    children: children ?? this.children,
    label: label ?? this.label,
    value: value ?? this.value,
  );
}