IpfsBitswapCommand class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
ledger(
{required String peerId}) → Future< Map< String, dynamic> > -
Show the current ledger for a peer.
/api/v0/bitswap/ledger
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reprovide(
) → Future< Map< String, dynamic> > -
Trigger reprovider.
/api/v0/bitswap/reprovide
-
stat(
{bool? verbose, bool? human}) → Future< Map< String, dynamic> > -
Show some diagnostic information on the bitswap agent.
/api/v0/bitswap/stat
-
toString(
) → String -
A string representation of this object.
inherited
-
wantList(
{String? peerId}) → Future< Map< String, dynamic> > -
Show blocks currently on the wantlist.
/api/v0/bitswap/wantlist
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited