InternetAddressType is the type an InternetAddress. Currently, IP version 4 (IPv4) and IP version 6 (IPv6) are supported.

Constants

ANY InternetAddressType

const InternetAddressType._(-1)
IP_V4 InternetAddressType

const InternetAddressType._(0)
IP_V6 InternetAddressType

const InternetAddressType._(1)

Properties

hashCode int

Get a hash code for this object.

read-only, inherited
name String

Get the name of the type, e.g. "IP_V4" or "IP_V6".

read-only
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.