GetDataSourceIndexStatsResponse.fromJson constructor

GetDataSourceIndexStatsResponse.fromJson(
  1. Map json_
)

Implementation

GetDataSourceIndexStatsResponse.fromJson(core.Map json_)
    : this(
        averageIndexedItemCount: json_.containsKey('averageIndexedItemCount')
            ? json_['averageIndexedItemCount'] as core.String
            : null,
        stats: json_.containsKey('stats')
            ? (json_['stats'] as core.List)
                .map((value) => DataSourceIndexStats.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );