Histogram.fromJson constructor
Histogram.fromJson(
- Map json_
Implementation
Histogram.fromJson(core.Map json_)
: this(
bucketCounts: json_.containsKey('bucketCounts')
? (json_['bucketCounts'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
firstBucketOffset: json_.containsKey('firstBucketOffset')
? json_['firstBucketOffset'] as core.int
: null,
);