RunAggregationQueryResponse.fromJson constructor

RunAggregationQueryResponse.fromJson(
  1. Map json_
)

Implementation

RunAggregationQueryResponse.fromJson(core.Map json_)
    : this(
        batch: json_.containsKey('batch')
            ? AggregationResultBatch.fromJson(
                json_['batch'] as core.Map<core.String, core.dynamic>)
            : null,
        query: json_.containsKey('query')
            ? AggregationQuery.fromJson(
                json_['query'] as core.Map<core.String, core.dynamic>)
            : null,
        transaction: json_.containsKey('transaction')
            ? json_['transaction'] as core.String
            : null,
      );