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