toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (billableSum != null) 'billableSum': billableSum!,
  if (buckets != null) 'buckets': buckets!,
  if (max != null) 'max': max!,
  if (mean != null) 'mean': mean!,
  if (median != null) 'median': median!,
  if (min != null) 'min': min!,
  if (p5 != null) 'p5': p5!,
  if (p95 != null) 'p95': p95!,
  if (sum != null) 'sum': sum!,
};