Template class

The content of the email, composed of a subject line, an HTML part, and a text-only part.

Constructors

Template({required String templateName, String? htmlPart, String? subjectPart, String? textPart})
Template.fromXml(XmlElement elem)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
htmlPart String?
The HTML body of the email.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subjectPart String?
The subject line of the email.
final
templateName String
The name of the template. You will refer to this name when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail operations.
final
textPart String?
The email body that will be visible to recipients whose email clients do not display HTML.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited