CID class

Class that contains the functions to create a cid.

Constructors

CID()

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

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

Static Methods

createCid(String text, Multibase base) CIDInfo
Creates a cid v1 that is compliant with IPFS standards The returned cid consists of a sha2-256 multihash, a raw multicodec and base encoded either 32 or 58.
decodeCid(String input) CIDInfo
Decodes a given cid string and returns its information.