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