walletISOCurrencyCodeNullableListFromJson function
List<WalletISOCurrencyCode> ?
walletISOCurrencyCodeNullableListFromJson(
- List? walletISOCurrencyCode, [
- List<
WalletISOCurrencyCode> ? defaultValue
Implementation
List<enums.WalletISOCurrencyCode>? walletISOCurrencyCodeNullableListFromJson(
List? walletISOCurrencyCode, [
List<enums.WalletISOCurrencyCode>? defaultValue,
]) {
if (walletISOCurrencyCode == null) {
return defaultValue;
}
return walletISOCurrencyCode
.map((e) => walletISOCurrencyCodeFromJson(e.toString()))
.toList();
}