toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (count != null) 'count': count!.toJson(),
      if (histogram != null) 'histogram': histogram!.toJson(),
      if (max != null) 'max': max!.toJson(),
      if (min != null) 'min': min!.toJson(),
      if (sum != null) 'sum': sum!.toJson(),
      if (sumOfSquares != null) 'sumOfSquares': sumOfSquares!,
    };