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