depositSwitchCreateRequestCountryCodeFromJson function
DepositSwitchCreateRequestCountryCode
depositSwitchCreateRequestCountryCodeFromJson(
- String? depositSwitchCreateRequestCountryCode
Implementation
enums.DepositSwitchCreateRequestCountryCode
depositSwitchCreateRequestCountryCodeFromJson(
String? depositSwitchCreateRequestCountryCode) {
if (depositSwitchCreateRequestCountryCode == null) {
return enums.DepositSwitchCreateRequestCountryCode.swaggerGeneratedUnknown;
}
return enums.$DepositSwitchCreateRequestCountryCodeMap.entries
.firstWhere(
(element) =>
element.value.toLowerCase() ==
depositSwitchCreateRequestCountryCode.toLowerCase(),
orElse: () => const MapEntry(
enums.DepositSwitchCreateRequestCountryCode
.swaggerGeneratedUnknown,
''))
.key;
}