accountTypeFromJson function
Implementation
enums.AccountType accountTypeFromJson(String? accountType) {
if (accountType == null) {
return enums.AccountType.swaggerGeneratedUnknown;
}
return enums.$AccountTypeMap.entries
.firstWhere(
(element) => element.value.toLowerCase() == accountType.toLowerCase(),
orElse: () =>
const MapEntry(enums.AccountType.swaggerGeneratedUnknown, ''))
.key;
}