toValue method
Implementation
String toValue() {
switch (this) {
case CoreDeviceStatus.healthy:
return 'HEALTHY';
case CoreDeviceStatus.unhealthy:
return 'UNHEALTHY';
}
}
String toValue() {
switch (this) {
case CoreDeviceStatus.healthy:
return 'HEALTHY';
case CoreDeviceStatus.unhealthy:
return 'UNHEALTHY';
}
}