GetCustomerSearchApplicationStatsResponse.fromJson constructor

GetCustomerSearchApplicationStatsResponse.fromJson(
  1. Map json_
)

Implementation

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