ModEventEmail constructor

  1. @JsonSerializable(includeIfNull: false)
const ModEventEmail({
  1. @Default('tools.ozone.moderation.defs#modEventEmail') String $type,
  2. required String subjectLine,
  3. String? content,
  4. String? comment,
  5. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ModEventEmail({
  @Default('tools.ozone.moderation.defs#modEventEmail') 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,

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