toJson method
Converts this request object into a JSON-encodable format.
Implementation
Map<String, dynamic> toJson() => {
'totalPrice': totalPrice,
'currencyCode': currencyCode,
'billingAddressRequired': billingAddressRequired,
if (googleMerchantID != null) 'googleMerchantID': googleMerchantID,
};