AccountStats constructor
- @JsonSerializable(includeIfNull: false)
const
AccountStats(
{ - @Default('tools.ozone.moderation.defs#accountStats') String $type,
- int? reportCount,
- int? appealCount,
- int? suspendCount,
- int? escalateCount,
- int? takedownCount,
- Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory AccountStats({
@Default('tools.ozone.moderation.defs#accountStats') String $type,
/// Total number of reports on the account
int? reportCount,
/// Total number of appeals against a moderation action on the account
int? appealCount,
/// Number of times the account was suspended
int? suspendCount,
/// Number of times the account was escalated
int? escalateCount,
/// Number of times the account was taken down
int? takedownCount,
Map<String, dynamic>? $unknown,
}) = _AccountStats;