transferIntentStatusNullableListFromJson function
List<TransferIntentStatus> ?
transferIntentStatusNullableListFromJson(
- List? transferIntentStatus, [
- List<
TransferIntentStatus> ? defaultValue
Implementation
List<enums.TransferIntentStatus>? transferIntentStatusNullableListFromJson(
List? transferIntentStatus, [
List<enums.TransferIntentStatus>? defaultValue,
]) {
if (transferIntentStatus == null) {
return defaultValue;
}
return transferIntentStatus
.map((e) => transferIntentStatusFromJson(e.toString()))
.toList();
}