IPv6Address constructor
IPv6Address(
- String addr
Creates a new IPv6Address.
Implementation
IPv6Address(String addr) {
// ignore: unnecessary_null_comparison
if (addr == null) {
throw AddressValueError('Address cannot be empty');
}
_ip = _ipIntFromString(addr);
}