HistogramQueryResult.fromJson constructor

HistogramQueryResult.fromJson(
  1. Map json_
)

Implementation

HistogramQueryResult.fromJson(core.Map json_)
    : this(
        histogram: json_.containsKey('histogram')
            ? (json_['histogram'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        histogramQuery: json_.containsKey('histogramQuery')
            ? json_['histogramQuery'] as core.String
            : null,
      );