toHECEndpointType method

HECEndpointType toHECEndpointType()

Implementation

HECEndpointType toHECEndpointType() {
  switch (this) {
    case 'Raw':
      return HECEndpointType.raw;
    case 'Event':
      return HECEndpointType.event;
  }
  throw Exception('$this is not known in enum HECEndpointType');
}