toJson method
Converts this instance to a JSON map.
Example:
final json = shippingAddressParameters.toJson();
Implementation
Map<String, dynamic> toJson() {
return {
'allowedCountryCodes': allowedCountryCodes,
'phoneNumberRequired': phoneNumberRequired,
};
}