ModEventEmail constructor

  1. @JsonSerializable(includeIfNull: false)
const ModEventEmail({
  1. @Default(toolsOzoneModerationDefsModEventEmail) @JsonKey(name: r'$type') String $type,
  2. required String subjectLine,
  3. String? content,
  4. String? comment,
  5. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ModEventEmail({
  /// The unique namespace for this lex object.
  ///
  /// `tools.ozone.moderation.defs#modEventEmail`
  @Default(toolsOzoneModerationDefsModEventEmail)
  @JsonKey(name: r'$type')
  String $type,

  /// The subject line of the email sent to the user.
  required String subjectLine,

  /// The content of the email sent to the user.
  String? content,

  /// Additional comment about the outgoing comm.
  String? comment,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _ModEventEmail;