toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (categoryId != null) 'categoryId': categoryId!,
if (countryCode != null) 'countryCode': countryCode!,
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 (reportDate != null) 'reportDate': reportDate!,
if (reportGranularity != null) 'reportGranularity': reportGranularity!,
};