toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (lineItemId != null) 'lineItemId': lineItemId!,
if (offerId != null) 'offerId': offerId!,
if (productId != null) 'productId': productId!,
if (quantity != null) 'quantity': quantity!,
};