toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final categoryId = this.categoryId;
  final countryCode = this.countryCode;
  final previousRank = this.previousRank;
  final previousRelativeDemand = this.previousRelativeDemand;
  final rank = this.rank;
  final relativeDemand = this.relativeDemand;
  final relativeDemandChange = this.relativeDemandChange;
  final reportDate = this.reportDate;
  final reportGranularity = this.reportGranularity;
  return {
    'categoryId': ?categoryId,
    'countryCode': ?countryCode,
    'previousRank': ?previousRank,
    'previousRelativeDemand': ?previousRelativeDemand,
    'rank': ?rank,
    'relativeDemand': ?relativeDemand,
    'relativeDemandChange': ?relativeDemandChange,
    'reportDate': ?reportDate,
    'reportGranularity': ?reportGranularity,
  };
}