toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeviceUpdateStatus.upToDate:
      return 'UP_TO_DATE';
    case DeviceUpdateStatus.notUpToDate:
      return 'NOT_UP_TO_DATE';
  }
}