aprAprTypeFromJson function
Implementation
enums.AprAprType aprAprTypeFromJson(String? aprAprType) {
if (aprAprType == null) {
return enums.AprAprType.swaggerGeneratedUnknown;
}
return enums.$AprAprTypeMap.entries
.firstWhere(
(element) => element.value.toLowerCase() == aprAprType.toLowerCase(),
orElse: () =>
const MapEntry(enums.AprAprType.swaggerGeneratedUnknown, ''))
.key;
}