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