ModEventMute constructor
- @JsonSerializable(includeIfNull: false)
const
ModEventMute(
{ - @Default(toolsOzoneModerationDefsModEventMute) @JsonKey(name: r'$type') String $type,
- required int durationInHours,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ModEventMute({
/// The unique namespace for this lex object.
///
/// `tools.ozone.moderation.defs#modEventMute`
@Default(toolsOzoneModerationDefsModEventMute)
@JsonKey(name: r'$type')
String $type,
String? comment,
/// Indicates how long the subject should remain muted.
required int durationInHours,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _ModEventMute;