toDateRangeUnit method
Implementation
DateRangeUnit toDateRangeUnit() {
switch (this) {
case 'DAYS':
return DateRangeUnit.days;
}
throw Exception('$this is not known in enum DateRangeUnit');
}
DateRangeUnit toDateRangeUnit() {
switch (this) {
case 'DAYS':
return DateRangeUnit.days;
}
throw Exception('$this is not known in enum DateRangeUnit');
}