ModEventMuteReporter constructor

  1. @JsonSerializable(includeIfNull: false)
const ModEventMuteReporter({
  1. @Default(toolsOzoneModerationDefsModEventMuteReporter) @JsonKey(name: r'$type') String $type,
  2. String? comment,
  3. required int durationInHours,
  4. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ModEventMuteReporter({
  /// The unique namespace for this lex object.
  ///
  /// `tools.ozone.moderation.defs#modEventMuteReporter`
  @Default(toolsOzoneModerationDefsModEventMuteReporter)
  @JsonKey(name: r'$type')
  String $type,
  String? comment,

  /// Indicates how long the account should remain muted.
  required int durationInHours,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _ModEventMuteReporter;