GWMessage class
Properties
- accountId → String
-
The unique identifier of the account.
final
-
attachments
→ List<
GWAttachment> -
List of the message.
final
-
bcc
→ List<
String> -
The blind carbon copy recipients of the message.
final
-
cc
→ List<
String> -
The carbon copy recipients of the message.
final
- createdAt → DateTime
-
The date of the message creation.
final
- flagged → bool
-
Whether the message has been flagged.
final
-
from
→ Map<
String, dynamic> -
The sender of the message.
final
- hasAttachments → bool
-
Whether the message has attachments.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
html
→ List<
String> -
The HTML of the message.
final
- id → String
-
The unique identifier of the message (MailGw DB).
final
- intro → String
-
The introduction of the message.
final
- isDeleted → bool
-
Whether the message has been deleted.
final
- msgid → String
-
The unique identifier of the message
(Global, both the receiver service and MailGw will know this).
final
- retention → bool
-
If the message has arrived
final
- retentionDate → DateTime
-
The date of the message retention.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seen → bool
-
Whether the message has been seen.
final
- size → int
-
The size of the message.
final
- subject → String
-
The subject of the message.
final
- text → String
-
The text of the message.
final
-
to
→ List<
Map< String, dynamic> > -
The recipients of the message.
final
- updatedAt → DateTime
-
When the message was seen
final
- url → String
-
The downloadUrl of the message.
final
-
verifications
→ List<
String> -
The verifications of the message.
final
Methods
-
delete(
) → Future< bool> - Deletes the message.
-
download(
) → Future< GWMessageSource> - Downloads the message as GWMessageSource
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
see(
) → Future< bool> - Marks the message as seen.
-
toJson(
) → Map< String, dynamic> - Returns the message as a map.
-
toString(
) → String -
Stringifies the message
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited