incidentUpdateStatusNullableListFromJson function
List<IncidentUpdateStatus> ?
incidentUpdateStatusNullableListFromJson(
- List? incidentUpdateStatus, [
- List<
IncidentUpdateStatus> ? defaultValue
Implementation
List<enums.IncidentUpdateStatus>? incidentUpdateStatusNullableListFromJson(
List? incidentUpdateStatus, [
List<enums.IncidentUpdateStatus>? defaultValue,
]) {
if (incidentUpdateStatus == null) {
return defaultValue;
}
return incidentUpdateStatus
.map((e) => incidentUpdateStatusFromJson(e.toString()))
.toList();
}