toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (cartId != null) 'cartId': cartId!,
if (listId != null) 'listId': listId!,
if (pageCategories != null) 'pageCategories': pageCategories!,
if (productDetails != null) 'productDetails': productDetails!,
if (purchaseTransaction != null)
'purchaseTransaction': purchaseTransaction!,
if (searchQuery != null) 'searchQuery': searchQuery!,
};