CID constructor
- required int version,
- required MultihashInfo multihash,
- String? codec,
- Multibase? multibaseType,
Creates a CID with the specified components.
Prefer using factory constructors CID.v0, CID.v1, or CID.fromContent for creating CIDs with proper validation.
Implementation
const CID({
required this.version,
required this.multihash,
this.codec,
this.multibaseType,
});