CustomerUserStats.fromJson constructor

CustomerUserStats.fromJson(
  1. Map json_
)

Implementation

CustomerUserStats.fromJson(core.Map json_)
    : this(
        date: json_.containsKey('date')
            ? Date.fromJson(
                json_['date'] as core.Map<core.String, core.dynamic>)
            : null,
        oneDayActiveUsersCount: json_.containsKey('oneDayActiveUsersCount')
            ? json_['oneDayActiveUsersCount'] as core.String
            : null,
        sevenDaysActiveUsersCount:
            json_.containsKey('sevenDaysActiveUsersCount')
                ? json_['sevenDaysActiveUsersCount'] as core.String
                : null,
        thirtyDaysActiveUsersCount:
            json_.containsKey('thirtyDaysActiveUsersCount')
                ? json_['thirtyDaysActiveUsersCount'] as core.String
                : null,
      );