toJson method

Map<String, dynamic> toJson()

Implementation

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