SimpleEmail class

Specifies the contents of an email message, composed of a subject, a text part, and an HTML part.

Constructors

SimpleEmail({SimpleEmailPart? htmlPart, SimpleEmailPart? subject, SimpleEmailPart? textPart})

Properties

hashCode int
The hash code for this object.
no setterinherited
htmlPart SimpleEmailPart?
The body of the email message, in HTML format. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject SimpleEmailPart?
The subject line, or title, of the email.
final
textPart SimpleEmailPart?
The body of the email message, in plain text format. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.
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