CustomAttributeHistogramResult.fromJson constructor
CustomAttributeHistogramResult.fromJson(
- Map json_
Implementation
CustomAttributeHistogramResult.fromJson(core.Map json_)
: this(
key: json_['key'] as core.String?,
longValueHistogramResult:
json_.containsKey('longValueHistogramResult')
? NumericBucketingResult.fromJson(
json_['longValueHistogramResult']
as core.Map<core.String, core.dynamic>)
: null,
stringValueHistogramResult: (json_['stringValueHistogramResult']
as core.Map<core.String, core.dynamic>?)
?.map(
(key, value) => core.MapEntry(
key,
value as core.int,
),
),
);