InternetAddress class

Stub class for InternetAddress on web platforms. This class mimics the interface of dart:io's InternetAddress to ensure compatibility on platforms that do not support DNS operations.

Constructors

InternetAddress()
Default constructor for the stubbed InternetAddress class. Used for compatibility only.
const

Properties

address String
Stub getter that mimics the address property of dart:io's InternetAddress.
no setter
hashCode int
The hash code for this object.
no setterinherited
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.
inherited

Operators

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

Static Methods

lookup(String host) Future<List<InternetAddress>>
Stub method for DNS lookup on web platforms.