toIPSetDescriptorType method
Implementation
IPSetDescriptorType toIPSetDescriptorType() {
switch (this) {
case 'IPV4':
return IPSetDescriptorType.ipv4;
case 'IPV6':
return IPSetDescriptorType.ipv6;
}
throw Exception('$this is not known in enum IPSetDescriptorType');
}