toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ConnectionType.websocket:
      return 'WEBSOCKET';
    case ConnectionType.connectionCredentials:
      return 'CONNECTION_CREDENTIALS';
  }
}