toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'category'] = this.category;
  json[r'count'] = this.count;
  if (this.lowerBound != null) {
    json[r'lower_bound'] = this.lowerBound;
  } else {
    json[r'lower_bound'] = null;
  }
  json[r'mean'] = this.mean;
  json[r'sum'] = this.sum;
  if (this.upperBound != null) {
    json[r'upper_bound'] = this.upperBound;
  } else {
    json[r'upper_bound'] = null;
  }
  return json;
}