batchCallRecipientStatusNullableListFromJson function
List<BatchCallRecipientStatus> ?
batchCallRecipientStatusNullableListFromJson(
- List? batchCallRecipientStatus, [
- List<
BatchCallRecipientStatus> ? defaultValue
Implementation
List<enums.BatchCallRecipientStatus>?
batchCallRecipientStatusNullableListFromJson(
List? batchCallRecipientStatus, [
List<enums.BatchCallRecipientStatus>? defaultValue,
]) {
if (batchCallRecipientStatus == null) {
return defaultValue;
}
return batchCallRecipientStatus
.map((e) => batchCallRecipientStatusFromJson(e.toString()))
.toList();
}