Message class
Constructors
-
Message.new({String id = '', String type = '', List<
MessageAddress> from = const [], List<MessageAddress> to = const [], List<MessageAddress> cc = const [], List<MessageAddress> bcc = const [], String received = '', String subject = '', MessageContent html = const MessageContent(), MessageContent text = const MessageContent(), List<Attachment> attachments = const [], Metadata metadata = const Metadata(), String server = ''}) -
const
-
Message.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
attachments
→ List<
Attachment> -
final
-
bcc
→ List<
MessageAddress> -
final
-
cc
→ List<
MessageAddress> -
final
-
from
→ List<
MessageAddress> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- html → MessageContent
-
final
- id → String
-
final
- metadata → Metadata
-
final
- received → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- server → String
-
final
- subject → String
-
final
- text → MessageContent
-
final
-
to
→ List<
MessageAddress> -
final
- type → String
-
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