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;
    case 'UPDATING':
      return SSEStatus.updating;
  }
  throw Exception('$this is not known in enum SSEStatus');
}