AggregationResult.fromJson constructor

AggregationResult.fromJson(
  1. Map json_
)

Implementation

AggregationResult.fromJson(core.Map json_)
    : this(
        aggregateFields: json_.containsKey('aggregateFields')
            ? (json_['aggregateFields']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  Value.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );