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