toJson method
Implementation
Map<String, dynamic> toJson() => {
'ts': ts,
'encryptedCID': encryptedCID?.toBase58(),
'cid': cid.toBase58(),
'hashes': hashes?.map((e) => e.toBase64Url()).toList(),
'thumbnail': thumbnail,
};