NodeInfo constructor

NodeInfo({
  1. required NodeInfoProtocolVersion protocolVersion,
  2. required String id,
  3. required Uri listenAddr,
  4. required String network,
  5. required String version,
  6. required String channels,
  7. required String moniker,
  8. required NodeInfoOther other,
})

Represents a response from the node_info endpoint from the blockchain.

Implementation

NodeInfo({
  required this.protocolVersion,
  required this.id,
  required this.listenAddr,
  required this.network,
  required this.version,
  required this.channels,
  required this.moniker,
  required this.other,
});