eventTypeToString function
Implementation
String eventTypeToString(DatabaseEventType value) {
if (!_eventTypeToStringMap.containsKey(value)) {
throw Exception('Unknown event type: $value');
}
return _eventTypeToStringMap[value]!;
}
String eventTypeToString(DatabaseEventType value) {
if (!_eventTypeToStringMap.containsKey(value)) {
throw Exception('Unknown event type: $value');
}
return _eventTypeToStringMap[value]!;
}