Aggregation.fromJson constructor

Aggregation.fromJson(
  1. Map _json
)

Implementation

Aggregation.fromJson(core.Map _json)
    : this(
        alias:
            _json.containsKey('alias') ? _json['alias'] as core.String : null,
        count: _json.containsKey('count')
            ? Count.fromJson(
                _json['count'] as core.Map<core.String, core.dynamic>)
            : null,
      );