value property

String get value

Returns the string representation of the event type.

Implementation

String get value {
  switch (this) {
    case EventType.identify:
      return 'identify';
    case EventType.track:
      return 'track';
    case EventType.page:
      return 'page';
  }
}