RunAggregationQueryRequest.fromJson constructor

RunAggregationQueryRequest.fromJson(
  1. Map json_
)

Implementation

RunAggregationQueryRequest.fromJson(core.Map json_)
    : this(
        explainOptions: json_.containsKey('explainOptions')
            ? ExplainOptions.fromJson(json_['explainOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
        newTransaction: json_.containsKey('newTransaction')
            ? TransactionOptions.fromJson(json_['newTransaction']
                as core.Map<core.String, core.dynamic>)
            : null,
        readTime: json_.containsKey('readTime')
            ? json_['readTime'] as core.String
            : null,
        structuredAggregationQuery:
            json_.containsKey('structuredAggregationQuery')
                ? StructuredAggregationQuery.fromJson(
                    json_['structuredAggregationQuery']
                        as core.Map<core.String, core.dynamic>)
                : null,
        transaction: json_.containsKey('transaction')
            ? json_['transaction'] as core.String
            : null,
      );