ModEventComment constructor
- @JsonSerializable(includeIfNull: false)
const
ModEventComment(
{ - @Default(toolsOzoneModerationDefsModEventComment) @JsonKey(name: r'$type') String $type,
- @Default(false) bool sticky,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ModEventComment({
/// The unique namespace for this lex object.
///
/// `tools.ozone.moderation.defs#modEventComment`
@Default(toolsOzoneModerationDefsModEventComment)
@JsonKey(name: r'$type')
String $type,
required String comment,
/// Make the comment persistent on the subject
@Default(false) bool sticky,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _ModEventComment;