AggregationResultBatch.fromJson constructor

AggregationResultBatch.fromJson(
  1. Map json_
)

Implementation

AggregationResultBatch.fromJson(core.Map json_)
    : this(
        aggregationResults: json_.containsKey('aggregationResults')
            ? (json_['aggregationResults'] as core.List)
                .map((value) => AggregationResult.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        moreResults: json_.containsKey('moreResults')
            ? json_['moreResults'] as core.String
            : null,
        readTime: json_.containsKey('readTime')
            ? json_['readTime'] as core.String
            : null,
      );