toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (brand != null) 'brand': brand!,
  if (gtins != null) 'gtins': gtins!,
  if (lineItemId != null) 'lineItemId': lineItemId!,
  if (mpn != null) 'mpn': mpn!,
  if (productId != null) 'productId': productId!,
  if (productTitle != null) 'productTitle': productTitle!,
  if (quantity != null) 'quantity': quantity!,
};