toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (bestSellersBrandView != null)
    'bestSellersBrandView': bestSellersBrandView!,
  if (bestSellersProductClusterView != null)
    'bestSellersProductClusterView': bestSellersProductClusterView!,
  if (competitiveVisibilityBenchmarkView != null)
    'competitiveVisibilityBenchmarkView': competitiveVisibilityBenchmarkView!,
  if (competitiveVisibilityCompetitorView != null)
    'competitiveVisibilityCompetitorView':
        competitiveVisibilityCompetitorView!,
  if (competitiveVisibilityTopMerchantView != null)
    'competitiveVisibilityTopMerchantView':
        competitiveVisibilityTopMerchantView!,
  if (nonProductPerformanceView != null)
    'nonProductPerformanceView': nonProductPerformanceView!,
  if (priceCompetitivenessProductView != null)
    'priceCompetitivenessProductView': priceCompetitivenessProductView!,
  if (priceInsightsProductView != null)
    'priceInsightsProductView': priceInsightsProductView!,
  if (productPerformanceView != null)
    'productPerformanceView': productPerformanceView!,
  if (productView != null) 'productView': productView!,
};