toJson method
Converts the object to a JSON representation.
Implementation
@override
Map<String, dynamic> toJson() {
return {
"genesis_key_delegation": {
"genesishash": genesisHash.toJson(),
"genesis_delegate_hash": genesisDelegateHash.toJson(),
"vrf_keyhash": vrfKeyHash.toJson()
}
};
}