PeerInfo class final

Information about a peer.

Constructors

PeerInfo.new({required String addr, required PeerSource source, required PeerState state, required Stats stats})

Properties

addr String
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source PeerSource
final
state PeerState
final
stats Stats
final

Methods

encode(Packer p) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

decode(Unpacker u) PeerInfo?