Node class

Constructors

Node(Protocol protocol, String host, {int? port, String path = '', Client? client})
Node.withUri(Uri uri, {Client? client})

Properties

client ↔ Client?
http client associated with the Node, used to complete requests.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
host String
no setter
isHealthy bool
getter/setter pair
lastAccessTimestamp DateTime
Records the latest timestamp when the Node was accessed to complete a request.
getter/setter pair
path String
no setter
port int
no setter
protocol Protocol
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri
latefinal

Methods

isDueForHealthCheck(Duration healthcheckInterval) bool
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