MockInternetAddress class
Mock implementation of InternetAddress for testing.
- Implemented types
Constructors
- MockInternetAddress(String address)
Properties
- address → String
-
The numeric address of the host.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
The host used to lookup the address.
no setteroverride
- isLinkLocal → bool
-
Whether the scope of the InternetAddress is a link-local.
no setteroverride
- isLoopback → bool
-
Whether the InternetAddress is a loopback address.
no setteroverride
- isMulticast → bool
-
Whether the scope of the InternetAddress is multicast.
no setteroverride
- rawAddress → Uint8List
-
The raw address of this InternetAddress.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → InternetAddressType
-
The address family of the InternetAddress.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
override
-
reverse(
) → Future< InternetAddress> -
Performs a reverse DNS lookup on this address
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited