notificationTypeDTOFromJson function
- Object? notificationTypeDTO, [
- NotificationTypeDTO? defaultValue
Implementation
enums.NotificationTypeDTO notificationTypeDTOFromJson(
Object? notificationTypeDTO, [
enums.NotificationTypeDTO? defaultValue,
]) {
return enums.NotificationTypeDTO.values
.firstWhereOrNull((e) => e.value == notificationTypeDTO) ??
defaultValue ??
enums.NotificationTypeDTO.swaggerGeneratedUnknown;
}