PeerInfo<H, N> class

Network Peer information

Constructors

PeerInfo({required String peerId, required String roles, required H bestHash, required N bestNumber})
const
PeerInfo.fromJson(Map<String, dynamic> json)
factory

Properties

bestHash → H
Peer best block hash
final
bestNumber → N
Peer best block number
final
hashCode int
The hash code for this object.
no setteroverride
peerId String
Peer ID
final
roles String
Roles
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
override