Message class
Constructors
-
Message({required int id, required String from, required String subject, required String excerpt, required DateTime timestamp, required bool read, required String date, String? recipient, String? body, String? mimeType})
-
-
Message.fromJson(Map<String, dynamic> json)
-
factory
Properties
-
body
→ String?
-
The message part of the email. May contain filtered HTML as described above
final
-
date
→ String
-
Date of arrival in the following format if less than 24 hours: H:M:S, or Y-M-D if older than 24
final
-
excerpt
→ String
-
a short excerpt of the email
final
-
from
→ String
-
email address of sender
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
id
→ int
-
an integer
final
-
mimeType
→ String?
-
MIME type for the mail_body, can be text/plain or text/html
final
-
read
→ bool
-
indicating if email was fetched before
final
-
recipient
→ String?
-
email address of receiver
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
subject
→ String
-
UTF-8 encoded string of the email’s subject
final
-
timestamp
→ DateTime
-
unix timestamp of arrival
final