BucketizedCount.fromJson constructor

BucketizedCount.fromJson(
  1. Map json_
)

Implementation

BucketizedCount.fromJson(core.Map json_)
    : this(
        count: json_.containsKey('count') ? json_['count'] as core.int : null,
        range: json_.containsKey('range')
            ? BucketRange.fromJson(
                json_['range'] as core.Map<core.String, core.dynamic>)
            : null,
      );