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(),
"destination": destination,
"destination_tag": destinationTag,
...super.toJson()
};
}