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