CustomerRequestStatusDTO.fromJson constructor
Implementation
factory CustomerRequestStatusDTO.fromJson(Map<String, Object?> json) {
return CustomerRequestStatusDTO(
status: json[r'status'] as String?,
statusCategory: json[r'statusCategory'] != null
? CustomerRequestStatusDTOStatusCategory.fromValue(
json[r'statusCategory']! as String)
: null,
statusDate: json[r'statusDate'] != null
? DateDTO.fromJson(json[r'statusDate']! as Map<String, Object?>)
: null,
);
}