GetCustomerIndexStatsResponse.fromJson constructor

GetCustomerIndexStatsResponse.fromJson(
  1. Map json_
)

Implementation

GetCustomerIndexStatsResponse.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) => CustomerIndexStats.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );