toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (bestSellers != null) 'bestSellers': bestSellers!,
  if (brand != null) 'brand': brand!,
  if (competitiveVisibility != null)
    'competitiveVisibility': competitiveVisibility!,
  if (metrics != null) 'metrics': metrics!,
  if (priceCompetitiveness != null)
    'priceCompetitiveness': priceCompetitiveness!,
  if (priceInsights != null) 'priceInsights': priceInsights!,
  if (productCluster != null) 'productCluster': productCluster!,
  if (productView != null) 'productView': productView!,
  if (segments != null) 'segments': segments!,
  if (topicTrends != null) 'topicTrends': topicTrends!,
};