toValue method
Implementation
String toValue() {
switch (this) {
case UsageLimitPeriod.daily:
return 'daily';
case UsageLimitPeriod.weekly:
return 'weekly';
case UsageLimitPeriod.monthly:
return 'monthly';
}
}
String toValue() {
switch (this) {
case UsageLimitPeriod.daily:
return 'daily';
case UsageLimitPeriod.weekly:
return 'weekly';
case UsageLimitPeriod.monthly:
return 'monthly';
}
}