toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.countOverTime != null) {
json[r'count_over_time'] = this.countOverTime;
} else {
json[r'count_over_time'] = null;
}
json[r'reaction'] = this.reaction;
return json;
}