toJson method
Converts this PEGooglePayOptions instance to a JSON map.
Example:
final json = googlePayOptions.toJson();
Implementation
@override
Map<String, dynamic> toJson() {
return {
'billingAddressRequired': billingAddressRequired,
'billingAddressParameters': billingAddressParameters?.toJson(),
'shippingAddressRequired': shippingAddressRequired,
'shippingAddressParameters': shippingAddressParameters?.toJson(),
};
}