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