ModEventTakedown constructor
- @JsonSerializable(includeIfNull: false)
const
ModEventTakedown(
{ - @Default('tools.ozone.moderation.defs#modEventTakedown') String $type,
- int? durationInHours,
- bool? acknowledgeAccountSubjects,
- List<String>? policies,
- 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;