NodeAddress class

NodeAddress contains information for the node's address.

Constructors

NodeAddress({required String address, required String type})
Default constructor.
const
NodeAddress.fromJson(Map<String, dynamic> json)
Creates a NodeAddress from JSON data.
factory

Properties

address String
The node address.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
Node address type, one of Hostname, ExternalIP or InternalIP.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a NodeAddress instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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