UsageStatistics constructor
const
UsageStatistics({})
Implementation
const factory UsageStatistics({
/// The recorded date time of this history.
@JsonKey(name: 'day')
@UnixTimestampConverter()
required DateTime recordedAt,
/// The counted usage of the tag within that day.
@JsonKey(name: 'uses') @IntConverter() required int usedCount,
/// The total of accounts using the tag within that day.
@JsonKey(name: 'accounts') @IntConverter() required int accountCount,
}) = _UsageStatistics;