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