Aggregation.fromJson constructor
Aggregation.fromJson(
- Map json_
Implementation
Aggregation.fromJson(core.Map json_)
: this(
alias:
json_.containsKey('alias') ? json_['alias'] as core.String : null,
avg: json_.containsKey('avg')
? Avg.fromJson(
json_['avg'] as core.Map<core.String, core.dynamic>)
: null,
count: json_.containsKey('count')
? Count.fromJson(
json_['count'] as core.Map<core.String, core.dynamic>)
: null,
sum: json_.containsKey('sum')
? Sum.fromJson(
json_['sum'] as core.Map<core.String, core.dynamic>)
: null,
);