toValue method

String toValue()

Implementation

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