NodeInfo class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

NodeInfo({required NodeInfoProtocolVersion protocolVersion, required String id, required Uri listenAddr, required String network, required String version, required String channels, required String moniker, required NodeInfoOther other})
Represents a response from the node_info endpoint from the blockchain.
NodeInfo.fromJson(Map<String, dynamic> json)
factory

Properties

channels String
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
listenAddr Uri
final
moniker String
final
network String
final
other NodeInfoOther
final
protocolVersion NodeInfoProtocolVersion
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
final

Methods

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

Operators

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