toValue method
Implementation
String toValue() {
switch (this) {
case InputDeviceConnectionState.disconnected:
return 'DISCONNECTED';
case InputDeviceConnectionState.connected:
return 'CONNECTED';
}
}
String toValue() {
switch (this) {
case InputDeviceConnectionState.disconnected:
return 'DISCONNECTED';
case InputDeviceConnectionState.connected:
return 'CONNECTED';
}
}