toSSEStatus method

SSEStatus toSSEStatus()

Implementation

SSEStatus toSSEStatus() {
  switch (this) {
    case 'ENABLING':
      return SSEStatus.enabling;
    case 'ENABLED':
      return SSEStatus.enabled;
    case 'DISABLING':
      return SSEStatus.disabling;
    case 'DISABLED':
      return SSEStatus.disabled;
  }
  throw Exception('$this is not known in enum SSEStatus');
}