CustomerRequestCreateMetaDTO.fromJson constructor
Implementation
factory CustomerRequestCreateMetaDTO.fromJson(Map<String, Object?> json) {
return CustomerRequestCreateMetaDTO(
canAddRequestParticipants:
json[r'canAddRequestParticipants'] as bool? ?? false,
canRaiseOnBehalfOf: json[r'canRaiseOnBehalfOf'] as bool? ?? false,
requestTypeFields: (json[r'requestTypeFields'] as List<Object?>?)
?.map((i) => RequestTypeFieldDTO.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
);
}