toStreamingStatus method

StreamingStatus toStreamingStatus()

Implementation

StreamingStatus toStreamingStatus() {
  switch (this) {
    case 'ENABLED':
      return StreamingStatus.enabled;
    case 'DISABLED':
      return StreamingStatus.disabled;
  }
  throw Exception('$this is not known in enum StreamingStatus');
}