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

name String

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

read-only
hashCode int

The hash code for this object.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

toString() String

Returns a string representation of this object.

noSuchMethod(Invocation invocation) → dynamic

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

inherited