FacetBucket.fromJson constructor
FacetBucket.fromJson(
- Map json_
Implementation
FacetBucket.fromJson(core.Map json_)
: this(
count: json_.containsKey('count') ? json_['count'] as core.int : null,
filter: json_.containsKey('filter')
? Filter.fromJson(
json_['filter'] as core.Map<core.String, core.dynamic>)
: null,
percentage: json_.containsKey('percentage')
? json_['percentage'] as core.int
: null,
value: json_.containsKey('value')
? Value.fromJson(
json_['value'] as core.Map<core.String, core.dynamic>)
: null,
);