RunAggregationQueryResponse.fromJson constructor

RunAggregationQueryResponse.fromJson(
  1. Map _json
)

Implementation

RunAggregationQueryResponse.fromJson(core.Map _json)
    : this(
        readTime: _json.containsKey('readTime')
            ? _json['readTime'] as core.String
            : null,
        result: _json.containsKey('result')
            ? AggregationResult.fromJson(
                _json['result'] as core.Map<core.String, core.dynamic>)
            : null,
        transaction: _json.containsKey('transaction')
            ? _json['transaction'] as core.String
            : null,
      );