depositSwitchCreateRequestCountryCodeNullableListFromJson function
List<DepositSwitchCreateRequestCountryCode> ?
depositSwitchCreateRequestCountryCodeNullableListFromJson(
- List? depositSwitchCreateRequestCountryCode, [
- List<
DepositSwitchCreateRequestCountryCode> ? defaultValue
Implementation
List<enums.DepositSwitchCreateRequestCountryCode>?
depositSwitchCreateRequestCountryCodeNullableListFromJson(
List? depositSwitchCreateRequestCountryCode, [
List<enums.DepositSwitchCreateRequestCountryCode>? defaultValue,
]) {
if (depositSwitchCreateRequestCountryCode == null) {
return defaultValue;
}
return depositSwitchCreateRequestCountryCode
.map((e) => depositSwitchCreateRequestCountryCodeFromJson(e.toString()))
.toList();
}