toValue method
Implementation
String toValue() {
switch (this) {
case StartTimerFailedCause.timerIdAlreadyInUse:
return 'TIMER_ID_ALREADY_IN_USE';
case StartTimerFailedCause.openTimersLimitExceeded:
return 'OPEN_TIMERS_LIMIT_EXCEEDED';
case StartTimerFailedCause.timerCreationRateExceeded:
return 'TIMER_CREATION_RATE_EXCEEDED';
case StartTimerFailedCause.operationNotPermitted:
return 'OPERATION_NOT_PERMITTED';
}
}