Body class

Represents the body of the message. You can specify text, HTML, or both. If you use both, then the message should display correctly in the widest variety of email clients.

Constructors

Body({Content? html, Content? text})

Properties

hashCode int
The hash code for this object.
no setterinherited
html Content?
The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text Content?
The content of the message, in text format. Use this for text-based email clients, or clients on 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