CIDInfo class
Class that holds the information of the provided cid
.
Constructors
Properties
- cid ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- multibase ↔ Multibase
-
getter/setter pair
- multicodecCode → int
-
final
- multicodecName → String
-
final
- multihashInfo ↔ MultihashInfo
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version ↔ int
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toV1(
{Multibase base = Multibase.base32}) → dynamic -
Converts the object to CIDv1, if possible.
A new multibase can be passed as parameter to encode the CIDv1 in a new base, if wanted.
By default, the new multibase is set to
base32
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited