toJson method
Converts a ShippingQuery object to a JSON object
Implementation
Map<String, dynamic> toJson() {
return {
'id': id,
'from': from.toJson(),
'invoice_payload': invoicePayload,
'shipping_address': shippingAddress.toJson(),
};
}