DVIpAddress class final
An IPv4 or IPv6 address.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Dotted quad for IPv4; RFC 5952 form for IPv6.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromBytes(
List< int> bytes) → DVIpAddress - The address from its bytes: four for IPv4, sixteen for IPv6.
-
parse(
String text) → DVIpAddress -
tryParse, throwing a FormatException naming
text. -
tryParse(
String text) → DVIpAddress? -
Parses
textas a bare address: dotted-quad IPv4 or RFC 4291 IPv6, with no port, brackets, zone or surrounding space.