toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PhoneNumberType.tollFree:
      return 'TOLL_FREE';
    case PhoneNumberType.did:
      return 'DID';
  }
}