copyWith method

CustomerRequestStatusDTO copyWith({
  1. String? status,
  2. CustomerRequestStatusDTOStatusCategory? statusCategory,
  3. DateDTO? statusDate,
})

Implementation

CustomerRequestStatusDTO copyWith(
    {String? status,
    CustomerRequestStatusDTOStatusCategory? statusCategory,
    DateDTO? statusDate}) {
  return CustomerRequestStatusDTO(
    status: status ?? this.status,
    statusCategory: statusCategory ?? this.statusCategory,
    statusDate: statusDate ?? this.statusDate,
  );
}