MessageCustomText constructor
MessageCustomText({})
Implementation
factory MessageCustomText({
$8.ObjectDetails? details,
$core.String? title,
$core.String? preHeader,
$core.String? subject,
$core.String? greeting,
$core.String? text,
$core.String? buttonText,
$core.String? footerText,
$core.bool? isDefault,
}) {
final $result = create();
if (details != null) {
$result.details = details;
}
if (title != null) {
$result.title = title;
}
if (preHeader != null) {
$result.preHeader = preHeader;
}
if (subject != null) {
$result.subject = subject;
}
if (greeting != null) {
$result.greeting = greeting;
}
if (text != null) {
$result.text = text;
}
if (buttonText != null) {
$result.buttonText = buttonText;
}
if (footerText != null) {
$result.footerText = footerText;
}
if (isDefault != null) {
$result.isDefault = isDefault;
}
return $result;
}