AggregationResultHistogramBucket.fromJson constructor

AggregationResultHistogramBucket.fromJson(
  1. Map json_
)

Implementation

AggregationResultHistogramBucket.fromJson(core.Map json_)
    : this(
        count:
            json_.containsKey('count') ? json_['count'] as core.String : null,
        lowerBound: json_.containsKey('lowerBound')
            ? (json_['lowerBound'] as core.num).toDouble()
            : null,
        upperBound: json_.containsKey('upperBound')
            ? (json_['upperBound'] as core.num).toDouble()
            : null,
      );