toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'countrywise_aggregate_stats'] = this.countrywiseAggregateStats;
  if (this.publisherAggregateStats != null) {
    json[r'publisher_aggregate_stats'] = this.publisherAggregateStats;
  } else {
    json[r'publisher_aggregate_stats'] = null;
  }
  if (this.turn != null) {
    json[r'turn'] = this.turn;
  } else {
    json[r'turn'] = null;
  }
  return json;
}