toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeviceStatus.active:
      return 'ACTIVE';
    case DeviceStatus.signedOut:
      return 'SIGNED_OUT';
  }
}