EmailContent class

An object that defines the entire content of the email, including the message headers and the body content. You can create a simple email message, in which you specify the subject and the text and HTML versions of the message body. You can also create raw messages, in which you specify a complete MIME-formatted message. Raw messages can include attachments and custom headers.

Constructors

EmailContent({RawMessage? raw, Message? simple, Template? template})

Properties

hashCode int
The hash code for this object.
no setterinherited
raw RawMessage?
The raw email message. The message has to meet the following criteria:
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
simple Message?
The simple email message. The message consists of a subject and a message body.
final
template Template?
The template to use for the email message.
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