toValue method
Implementation
String toValue() {
switch (this) {
case AddressFamily.ipv4:
return 'ipv4';
case AddressFamily.ipv6:
return 'ipv6';
}
}
String toValue() {
switch (this) {
case AddressFamily.ipv4:
return 'ipv4';
case AddressFamily.ipv6:
return 'ipv6';
}
}