toEventTypeValues method

EventTypeValues toEventTypeValues()

Implementation

EventTypeValues toEventTypeValues() {
  switch (this) {
    case 'shareSnapshot':
      return EventTypeValues.shareSnapshot;
  }
  throw Exception('$this is not known in enum EventTypeValues');
}