eventTypeToString function

String eventTypeToString(
  1. DatabaseEventType value
)

Implementation

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