toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (brand != null) 'brand': brand!,
  if (previousRank != null) 'previousRank': previousRank!,
  if (previousRelativeDemand != null)
    'previousRelativeDemand': previousRelativeDemand!,
  if (rank != null) 'rank': rank!,
  if (relativeDemand != null) 'relativeDemand': relativeDemand!,
  if (relativeDemandChange != null)
    'relativeDemandChange': relativeDemandChange!,
  if (reportCategoryId != null) 'reportCategoryId': reportCategoryId!,
  if (reportCountryCode != null) 'reportCountryCode': reportCountryCode!,
  if (reportDate != null) 'reportDate': reportDate!,
  if (reportGranularity != null) 'reportGranularity': reportGranularity!,
};