toValue method
Implementation
String toValue() {
switch (this) {
case InputDeviceState.idle:
return 'IDLE';
case InputDeviceState.streaming:
return 'STREAMING';
}
}
String toValue() {
switch (this) {
case InputDeviceState.idle:
return 'IDLE';
case InputDeviceState.streaming:
return 'STREAMING';
}
}