depositSwitchAltCreateRequestCountryCodeNullableListFromJson function
List<DepositSwitchAltCreateRequestCountryCode> ?
depositSwitchAltCreateRequestCountryCodeNullableListFromJson(
- List? depositSwitchAltCreateRequestCountryCode, [
- List<
DepositSwitchAltCreateRequestCountryCode> ? defaultValue
Implementation
List<enums.DepositSwitchAltCreateRequestCountryCode>?
depositSwitchAltCreateRequestCountryCodeNullableListFromJson(
List? depositSwitchAltCreateRequestCountryCode, [
List<enums.DepositSwitchAltCreateRequestCountryCode>? defaultValue,
]) {
if (depositSwitchAltCreateRequestCountryCode == null) {
return defaultValue;
}
return depositSwitchAltCreateRequestCountryCode
.map(
(e) => depositSwitchAltCreateRequestCountryCodeFromJson(e.toString()))
.toList();
}