SearchStatistics.fromJson constructor

SearchStatistics.fromJson(
  1. Map json_
)

Implementation

SearchStatistics.fromJson(core.Map json_)
    : this(
        indexUnusedReasons: json_.containsKey('indexUnusedReasons')
            ? (json_['indexUnusedReasons'] as core.List)
                .map((value) => IndexUnusedReason.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        indexUsageMode: json_.containsKey('indexUsageMode')
            ? json_['indexUsageMode'] as core.String
            : null,
      );