toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CancelTimerFailedCause.timerIdUnknown:
      return 'TIMER_ID_UNKNOWN';
    case CancelTimerFailedCause.operationNotPermitted:
      return 'OPERATION_NOT_PERMITTED';
  }
}