ModEventLabel constructor

  1. @JsonSerializable(includeIfNull: false)
const ModEventLabel({
  1. @Default(toolsOzoneModerationDefsModEventLabel) @JsonKey(name: r'$type') String $type,
  2. String? comment,
  3. required List<String> createLabelVals,
  4. required List<String> negateLabelVals,
  5. @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;