ResultCounts.fromJson constructor

ResultCounts.fromJson(
  1. Map json_
)

Implementation

ResultCounts.fromJson(core.Map json_)
    : this(
        sourceResultCounts: json_.containsKey('sourceResultCounts')
            ? (json_['sourceResultCounts'] as core.List)
                .map((value) => SourceResultCount.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );