ModEventLabel constructor
- @JsonSerializable(includeIfNull: false)
const
ModEventLabel(
{ - @Default(toolsOzoneModerationDefsModEventLabel) @JsonKey(name: r'$type') String $type,
- required List<String> createLabelVals,
- required List<String> negateLabelVals,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ModEventLabel({
/// The unique namespace for this lex object.
///
/// `tools.ozone.moderation.defs#modEventLabel`
@Default(toolsOzoneModerationDefsModEventLabel)
@JsonKey(name: r'$type')
String $type,
String? comment,
required List<String> createLabelVals,
required List<String> negateLabelVals,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _ModEventLabel;