incidentUpdateStatusListToJson function
Implementation
List<String> incidentUpdateStatusListToJson(
List<enums.IncidentUpdateStatus>? incidentUpdateStatus) {
if (incidentUpdateStatus == null) {
return [];
}
return incidentUpdateStatus
.map((e) => enums.$IncidentUpdateStatusMap[e]!)
.toList();
}