AggregationResult.fromJson constructor

AggregationResult.fromJson(
  1. Map json_
)

Implementation

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