GetCustomerQueryStatsResponse.fromJson constructor

GetCustomerQueryStatsResponse.fromJson(
  1. Map json_
)

Implementation

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