NumericBucketingResult.fromJson constructor

NumericBucketingResult.fromJson(
  1. Map json_
)

Implementation

NumericBucketingResult.fromJson(core.Map json_)
  : this(
      counts: (json_['counts'] as core.List?)
          ?.map(
            (value) => BucketizedCount.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      maxValue: (json_['maxValue'] as core.num?)?.toDouble(),
      minValue: (json_['minValue'] as core.num?)?.toDouble(),
    );