GetCustomerSessionStatsResponse.fromJson constructor

GetCustomerSessionStatsResponse.fromJson(
  1. Map json_
)

Implementation

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