IpfsBlockCommand class
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
-
get({required String blockCid})
→ Future<Map<String, dynamic>>
-
Get a raw IPFS block.
/api/v0/block/get
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
put({String? cidCodec, String? mhtype, int? mhlen, bool? pin, bool? allowBigBlock})
→ Future<Map<String, dynamic>>
-
Store input as an IPFS block.
/api/v0/block/put
-
rm({required String blockCid, bool? force, bool? quiet})
→ Future<Map<String, dynamic>>
-
Remove IPFS block(s) from the local datastore.
/api/v0/block/rm
-
stat({required String blockCid})
→ Future<Map<String, dynamic>>
-
Print information of a raw IPFS block.
/api/v0/block/stat
-
toString()
→ String
-
A string representation of this object.
inherited