toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case BillingMethod.metered:
      return 'METERED';
    case BillingMethod.unmetered:
      return 'UNMETERED';
  }
}