ModEventTakedown constructor

  1. @JsonSerializable(includeIfNull: false)
const ModEventTakedown({
  1. @Default('tools.ozone.moderation.defs#modEventTakedown') String $type,
  2. String? comment,
  3. int? durationInHours,
  4. bool? acknowledgeAccountSubjects,
  5. List<String>? policies,
  6. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ModEventTakedown({
  @Default('tools.ozone.moderation.defs#modEventTakedown') String $type,
  String? comment,

  /// Indicates how long the takedown should be in effect before automatically expiring.
  int? durationInHours,

  /// If true, all other reports on content authored by this account will be resolved (acknowledged).
  bool? acknowledgeAccountSubjects,
  List<String>? policies,

  Map<String, dynamic>? $unknown,
}) = _ModEventTakedown;