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