toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'fields'] = fields;
  json[r'samples'] = samples;
  json[r'min'] = min;
  json[r'max'] = max;
  json[r'mean'] = mean;
  json[r'median'] = median;
  json[r'variance'] = variance;
  return json;
}