RunAggregationQueryResponseElement.fromJson constructor

RunAggregationQueryResponseElement.fromJson(
  1. Map json_
)

Implementation

RunAggregationQueryResponseElement.fromJson(core.Map json_)
    : this(
        explainMetrics: json_.containsKey('explainMetrics')
            ? ExplainMetrics.fromJson(json_['explainMetrics']
                as core.Map<core.String, core.dynamic>)
            : null,
        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,
      );