Email class

This class is an abstraction of a simple email message.

@author Brian Pontarelli

Annotations
  • @JsonSerializable()

Constructors

Email({List<Attachment> attachments, List<EmailAddress> bcc, List<EmailAddress> cc, EmailAddress from, String html, EmailAddress replyTo, String subject, String text, List<EmailAddress> to})
Email.fromJson(Map<String, dynamic> json)
factory

Properties

attachments List<Attachment>
getter/setter pair
bcc List<EmailAddress>
getter/setter pair
cc List<EmailAddress>
getter/setter pair
from EmailAddress
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
html String
getter/setter pair
replyTo EmailAddress
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject String
getter/setter pair
text String
getter/setter pair
to List<EmailAddress>
getter/setter pair

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