ModEventLabel constructor
- @JsonSerializable(includeIfNull: false)
const
ModEventLabel(
{ - @Default('tools.ozone.moderation.defs#modEventLabel') String $type,
- required List<String> createLabelVals,
- required List<String> negateLabelVals,
- int? durationInHours,
- Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ModEventLabel({
@Default('tools.ozone.moderation.defs#modEventLabel') String $type,
String? comment,
required List<String> createLabelVals,
required List<String> negateLabelVals,
/// Indicates how long the label will remain on the subject. Only applies on labels that are being added.
int? durationInHours,
Map<String, dynamic>? $unknown,
}) = _ModEventLabel;