ModEventTakedown constructor
- @JsonSerializable(includeIfNull: false)
const
ModEventTakedown(
{ - @Default(toolsOzoneModerationDefsModEventTakedown) @JsonKey(name: r'$type') String $type,
- @Default(0) int durationInHours,
- @Default(false) bool acknowledgeAccountSubjects,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ModEventTakedown({
/// The unique namespace for this lex object.
///
/// `tools.ozone.moderation.defs#modEventTakedown`
@Default(toolsOzoneModerationDefsModEventTakedown)
@JsonKey(name: r'$type')
String $type,
String? comment,
/// Indicates how long the takedown should be in effect before
/// automatically expiring.
@Default(0) int durationInHours,
/// If true, all other reports on content authored by this account
/// will be resolved (acknowledged).
@Default(false) bool acknowledgeAccountSubjects,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _ModEventTakedown;