AccountStats constructor

  1. @JsonSerializable(includeIfNull: false)
const AccountStats({
  1. @Default('tools.ozone.moderation.defs#accountStats') String $type,
  2. int? reportCount,
  3. int? appealCount,
  4. int? suspendCount,
  5. int? escalateCount,
  6. int? takedownCount,
  7. 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;