toValue method

String toValue()

Implementation

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