IPv6Interface class

A class for representing and manipulating single IPv6 Addresses + Networks.

Constructors

IPv6Interface(String addr)
Creates a new IPv6Interface.

Properties

hashCode int
The hash code for this object.
no setterinherited
ip IPv6Address
The address without network information.
no setter
maxPrefixlen int
The total number of bits in the address representation for this version: 32 for IPv4, 128 for IPv6.
no setterinherited
network IPv6Network
The network this interface belongs to.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version int
The appropriate version number: 4 for IPv4, 6 for IPv6.
no setterinherited
withHostmask String
A string representation of the network, with the mask in host mask notation.
no setter
withNetmask String
A string representation of the network, with the mask in net mask notation.
no setter
withPrefixlen String
A string resresentation of the netwrok, with the mask in prefix length.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBigInt() BigInt
Returns an bigint representation of an IP address.
inherited
toInt() int
Returns an integer representation of an IP address.
inherited
toString() String
A string representation of this object.
override

Operators

operator <(dynamic other) bool
inherited
operator <=(dynamic other) bool
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator >(dynamic other) bool
inherited
operator >=(dynamic other) bool
inherited

Static Methods

tryParse(String addr) IPv6Interface?
Creates a new IPv6Interface. Like constructor except that this function returns null.