transferIntentCreateModeListFromJson function
List<TransferIntentCreateMode>
transferIntentCreateModeListFromJson(
- List? transferIntentCreateMode, [
- List<
TransferIntentCreateMode> ? defaultValue
Implementation
List<enums.TransferIntentCreateMode> transferIntentCreateModeListFromJson(
List? transferIntentCreateMode, [
List<enums.TransferIntentCreateMode>? defaultValue,
]) {
if (transferIntentCreateMode == null) {
return defaultValue ?? [];
}
return transferIntentCreateMode
.map((e) => transferIntentCreateModeFromJson(e.toString()))
.toList();
}