ModEventEmail constructor
- @JsonSerializable(includeIfNull: false)
const
ModEventEmail(
{ - @Default(toolsOzoneModerationDefsModEventEmail) @JsonKey(name: r'$type') String $type,
- required String subjectLine,
- String? content,
- @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;