fromRaw static method
Implementation
static OmiConsultStartStatus fromRaw(dynamic value) {
final code = (value as num?)?.toInt();
return _consultStartStatusCodes.entries
.firstWhere(
(e) => e.value == code,
orElse: () => const MapEntry(OmiConsultStartStatus.unknown, -1),
)
.key;
}