toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case UsageLimitLimitType.time:
      return 'time';
    case UsageLimitLimitType.dataScanned:
      return 'data-scanned';
  }
}