EmailMessage class final

Rendered email content and its sender, headers, schema, and safety result.

Exposes subject, text, html, and from, among other contract fields.

Constructors

EmailMessage({String? subject, String? text, String? html, EmailMailbox? from, EmailMailbox? replyTo, MessageHeaders? headers, EmailSafetyResult? safety, EmailSchemaMarkup? schema})
const
EmailMessage.fromJson(Map<String, Object?> json)
factory

Properties

from → EmailMailbox?
final
hashCode → int
The hash code for this object.
no setterinherited
headers → MessageHeaders?
final
html → String?
final
replyTo → EmailMailbox?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
safety → EmailSafetyResult?
final
schema → EmailSchemaMarkup?
final
subject → String?
final
text → String?
final

Methods

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

Operators

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