toValue method
Implementation
String toValue() {
switch (this) {
case ProtocolType.websocket:
return 'WEBSOCKET';
case ProtocolType.http:
return 'HTTP';
}
}
String toValue() {
switch (this) {
case ProtocolType.websocket:
return 'WEBSOCKET';
case ProtocolType.http:
return 'HTTP';
}
}