toPhoneNumberType method
Implementation
PhoneNumberType toPhoneNumberType() {
switch (this) {
case 'TOLL_FREE':
return PhoneNumberType.tollFree;
case 'DID':
return PhoneNumberType.did;
}
throw Exception('$this is not known in enum PhoneNumberType');
}