toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case IPAddressVersion.ipv4:
      return 'IPV4';
    case IPAddressVersion.ipv6:
      return 'IPV6';
  }
}