CID class

Constructors

CID(int type, Multihash hash, {int? size})
CID.bridge(String id)
factory
CID.decode(String cid)
CID.fromBytes(Uint8List bytes)
CID.raw(Multihash hash, {int? size})

Properties

hash Multihash
latefinal
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int?
getter/setter pair
type int
latefinal

Methods

copyWith({int? type, int? size}) CID
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBase32() String
inherited
toBase58() String
inherited
toBase64Url() String
inherited
toBytes() Uint8List
toHex() String
inherited
toRegistryEntry() Uint8List
toString() String
A string representation of this object.

Operators

operator ==(Object other) bool
The equality operator.
override