jsonMap method
Implementation
Map<String, dynamic> jsonMap({bool asHex = false}) => {
"commit_hash_merkle_root":
(asHex) ? commitHashMerkleRoot.hex : commitHashMerkleRoot.bytes,
"dr_hash_merkle_root":
(asHex) ? drHashMerkleRoot.hex : drHashMerkleRoot.bytes,
"mint_hash": (asHex) ? mintHash.hex : mintHash.bytes,
"reveal_hash_merkle_root":
(asHex) ? revealHashMerkleRoot.hex : revealHashMerkleRoot.bytes,
"tally_hash_merkle_root":
(asHex) ? tallyHashMerkleRoot.hex : tallyHashMerkleRoot.bytes,
"vt_hash_merkle_root":
(asHex) ? vtHashMerkleRoot.hex : vtHashMerkleRoot.bytes
};