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,
);