toValue method
Implementation
String toValue() {
switch (this) {
case TimeUnit.hourly:
return 'HOURLY';
case TimeUnit.daily:
return 'DAILY';
case TimeUnit.monthly:
return 'MONTHLY';
}
}
String toValue() {
switch (this) {
case TimeUnit.hourly:
return 'HOURLY';
case TimeUnit.daily:
return 'DAILY';
case TimeUnit.monthly:
return 'MONTHLY';
}
}