toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bucketSize != null) 'bucketSize': bucketSize!,
      if (bucketValueCount != null) 'bucketValueCount': bucketValueCount!,
      if (bucketValues != null) 'bucketValues': bucketValues!,
      if (maxProbability != null) 'maxProbability': maxProbability!,
      if (minProbability != null) 'minProbability': minProbability!,
    };