WASIPreview3IpAddress class final
An IPv4 or IPv6 address used by WASI 0.3 sockets.
Constructors
Properties
- family → WASIPreview3IpAddressFamily
-
Address family.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- host → String
-
Text accepted by Dart networking APIs.
no setter
-
parts
→ List<
int> -
Four IPv4 octets or eight IPv6 16-bit segments.
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.
override
Static Methods
-
parse(
String value) → WASIPreview3IpAddress? - Parses an IPv4 or IPv6 literal without performing DNS resolution.