EndpointAddress class
EndpointAddress is a tuple that describes single IP address.
Constructors
- EndpointAddress({String? hostname, required String ip, String? nodeName, ObjectReference? targetRef})
-
Default constructor.
const
-
EndpointAddress.fromJson(Map<
String, dynamic> json) -
Creates a EndpointAddress from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hostname → String?
-
The Hostname of this endpoint.
final
- ip → String
-
The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).
final
- nodeName → String?
-
Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetRef → ObjectReference?
-
Reference to object providing the endpoint.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a EndpointAddress instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited