RunAggregationQueryRequest.fromJson constructor

RunAggregationQueryRequest.fromJson(
  1. Map _json
)

Implementation

RunAggregationQueryRequest.fromJson(core.Map _json)
    : this(
        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,
      );