EndpointAddress class

EndpointAddress is a tuple that describes single IP address.

Constructors

EndpointAddress({String? hostname, required String ip, String? nodeName, ObjectReference? targetRef})
The main constructor.
const
EndpointAddress.fromJson(Map<String, dynamic> json)
Creates a EndpointAddress from JSON data.

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), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.
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

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<EndpointAddress>
Creates a list of EndpointAddress from JSON data.