ModEventReport constructor
- @JsonSerializable(includeIfNull: false)
const
ModEventReport(
{ - @Default(toolsOzoneModerationDefsModEventReport) @JsonKey(name: r'$type') String $type,
- @Default(false) bool isReporterMuted,
- @UReasonTypeConverter() required UReasonType reportType,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ModEventReport({
/// The unique namespace for this lex object.
///
/// `tools.ozone.moderation.defs#modEventReport`
@Default(toolsOzoneModerationDefsModEventReport)
@JsonKey(name: r'$type')
String $type,
String? comment,
/// Set to true if the reporter was muted from reporting at the time
/// of the event. These reports won't impact the reviewState of the
/// subject.
@Default(false) bool isReporterMuted,
@UReasonTypeConverter() required UReasonType reportType,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _ModEventReport;