toJson method
Converts the object to a JSON representation.
Implementation
@override
Map<String, dynamic> toJson() {
return {
"xchain_bridge": xchainBridge.toJson(),
"signature_reward": signatureReward.toString(),
"other_chain_source": otherChainSource,
...super.toJson()
};
}