Email constructor
Email({})
Implementation
factory Email({
$core.String? id,
$core.String? logo,
$core.String? welcomeMessage,
$core.String? bodyMessage,
$core.String? footerMessage,
$core.String? title,
$1.Timestamp? createdAt,
$1.Timestamp? updatedAt,
$1.Timestamp? encryptedAt,
$core.bool? triggerOnCreate,
$core.int? internalEncryptionLevel,
$core.String? subject,
$core.String? templatePath,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (logo != null) {
_result.logo = logo;
}
if (welcomeMessage != null) {
_result.welcomeMessage = welcomeMessage;
}
if (bodyMessage != null) {
_result.bodyMessage = bodyMessage;
}
if (footerMessage != null) {
_result.footerMessage = footerMessage;
}
if (title != null) {
_result.title = title;
}
if (createdAt != null) {
_result.createdAt = createdAt;
}
if (updatedAt != null) {
_result.updatedAt = updatedAt;
}
if (encryptedAt != null) {
_result.encryptedAt = encryptedAt;
}
if (triggerOnCreate != null) {
_result.triggerOnCreate = triggerOnCreate;
}
if (internalEncryptionLevel != null) {
_result.internalEncryptionLevel = internalEncryptionLevel;
}
if (subject != null) {
_result.subject = subject;
}
if (templatePath != null) {
_result.templatePath = templatePath;
}
return _result;
}