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,
$core.bool? triggerOnCreate,
$core.String? subject,
$core.String? templatePath,
LanguageCode? languageCode,
}) {
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 (triggerOnCreate != null) {
_result.triggerOnCreate = triggerOnCreate;
}
if (subject != null) {
_result.subject = subject;
}
if (templatePath != null) {
_result.templatePath = templatePath;
}
if (languageCode != null) {
_result.languageCode = languageCode;
}
return _result;
}