toValue method
Implementation
String toValue() {
switch (this) {
case DeviceEventType.connectionStatus:
return 'CONNECTION_STATUS';
case DeviceEventType.deviceStatus:
return 'DEVICE_STATUS';
}
}
String toValue() {
switch (this) {
case DeviceEventType.connectionStatus:
return 'CONNECTION_STATUS';
case DeviceEventType.deviceStatus:
return 'DEVICE_STATUS';
}
}