ModEventMuteReporter constructor
- @JsonSerializable(includeIfNull: false)
const
ModEventMuteReporter(
{ - @Default('tools.ozone.moderation.defs#modEventMuteReporter') String $type,
- int? durationInHours,
- Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ModEventMuteReporter({
@Default('tools.ozone.moderation.defs#modEventMuteReporter') String $type,
String? comment,
/// Indicates how long the account should remain muted. Falsy value here means a permanent mute.
int? durationInHours,
Map<String, dynamic>? $unknown,
}) = _ModEventMuteReporter;