ModEventMuteReporter constructor

  1. @JsonSerializable(includeIfNull: false)
const ModEventMuteReporter({
  1. @Default('tools.ozone.moderation.defs#modEventMuteReporter') String $type,
  2. String? comment,
  3. int? durationInHours,
  4. 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;