IdentifySnapshot class
A snapshot of the identify information for a peer
Constructors
-
IdentifySnapshot.new({required int seq, required List<
ProtocolID> protocols, required List<MultiAddr> addrs, dynamic record}) - Creates a new identify snapshot
Properties
-
addrs
→ List<
MultiAddr> -
Addresses the peer is listening on
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
protocols
→ List<
ProtocolID> -
Protocols supported by the peer
final
- record → dynamic
-
Signed peer record
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
equals(
IdentifySnapshot other) → Future< bool> - Returns true if this snapshot is equal to another snapshot
-
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.
inherited