ModEventMute constructor

  1. @JsonSerializable(includeIfNull: false)
const ModEventMute({
  1. @Default('tools.ozone.moderation.defs#modEventMute') String $type,
  2. String? comment,
  3. required int durationInHours,
  4. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ModEventMute({
  @Default('tools.ozone.moderation.defs#modEventMute') String $type,
  String? comment,

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

  Map<String, dynamic>? $unknown,
}) = _ModEventMute;