toJson method
Converts the request to JSON representation.
Implementation
@override
Map<String, dynamic> toJson() {
return {
"source_account": sourceAccount,
"destination_account": destinationAccount,
"destination_amount": destinationAmount.toJson(),
"send_max": sendMax?.toJson(),
"source_currencies": sourceCurrencies?.map((e) => e.toJson()).toList()
};
}