ModEventComment constructor

  1. @JsonSerializable(includeIfNull: false)
const ModEventComment({
  1. @Default(toolsOzoneModerationDefsModEventComment) @JsonKey(name: r'$type') String $type,
  2. required String comment,
  3. @Default(false) bool sticky,
  4. @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;