toValue method
Implementation
String toValue() {
switch (this) {
case SessionConnectionState.connected:
return 'CONNECTED';
case SessionConnectionState.notConnected:
return 'NOT_CONNECTED';
}
}
String toValue() {
switch (this) {
case SessionConnectionState.connected:
return 'CONNECTED';
case SessionConnectionState.notConnected:
return 'NOT_CONNECTED';
}
}