SearchApplicationQueryStats.fromJson constructor

SearchApplicationQueryStats.fromJson(
  1. Map json_
)

Implementation

SearchApplicationQueryStats.fromJson(core.Map json_)
    : this(
        date: json_.containsKey('date')
            ? Date.fromJson(
                json_['date'] as core.Map<core.String, core.dynamic>)
            : null,
        queryCountByStatus: json_.containsKey('queryCountByStatus')
            ? (json_['queryCountByStatus'] as core.List)
                .map((value) => QueryCountByStatus.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );