toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'time_range'] = this.timeRange;
  json[r'filter_events'] = this.filterEvents;
  if (this.filterProject != null) {
    json[r'filter_project'] = this.filterProject;
  } else {
    json[r'filter_project'] = null;
  }
  json[r'group_by'] = this.groupBy;
  return json;
}