SearchAnalyticsQueryResponse.fromJson constructor

SearchAnalyticsQueryResponse.fromJson(
  1. Map json_
)

Implementation

SearchAnalyticsQueryResponse.fromJson(core.Map json_)
    : this(
        responseAggregationType: json_.containsKey('responseAggregationType')
            ? json_['responseAggregationType'] as core.String
            : null,
        rows: json_.containsKey('rows')
            ? (json_['rows'] as core.List)
                .map((value) => ApiDataRow.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );