InternetAddressType class final

The type, or address family, of an InternetAddress.

Currently, IP version 4 (IPv4), IP version 6 (IPv6) and Unix domain address are supported. Unix domain sockets are available only on Linux, MacOS and Android.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Get the name of the type, e.g. "IPv4" or "IPv6".
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

any → const InternetAddressType
IPv4 → const InternetAddressType
IPv6 → const InternetAddressType
unix → const InternetAddressType