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 (valueFrequencyLowerBound != null)
        'valueFrequencyLowerBound': valueFrequencyLowerBound!,
      if (valueFrequencyUpperBound != null)
        'valueFrequencyUpperBound': valueFrequencyUpperBound!,
    };