LoggingQuery.fromJson constructor

LoggingQuery.fromJson(
  1. Map json_
)

Implementation

LoggingQuery.fromJson(core.Map json_)
    : this(
        filter: json_.containsKey('filter')
            ? json_['filter'] as core.String
            : null,
        summaryFieldEnd: json_.containsKey('summaryFieldEnd')
            ? json_['summaryFieldEnd'] as core.int
            : null,
        summaryFieldStart: json_.containsKey('summaryFieldStart')
            ? json_['summaryFieldStart'] as core.int
            : null,
        summaryFields: json_.containsKey('summaryFields')
            ? (json_['summaryFields'] as core.List)
                .map((value) => SummaryField.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );