Message class

An email message.

Constructors

Message({String? historyId, String? id, String? internalDate, List<String>? labelIds, MessagePart? payload, String? raw, int? sizeEstimate, String? snippet, String? threadId})
Message.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
historyId String?
The ID of the last history record that modified this message.
getter/setter pair
id String?
The immutable ID of the message.
getter/setter pair
internalDate String?
The internal message creation timestamp (epoch ms), which determines ordering in the inbox.
getter/setter pair
labelIds List<String>?
List of IDs of labels applied to this message.
getter/setter pair
payload MessagePart?
The parsed email structure in the message parts.
getter/setter pair
raw String?
The entire email message in an RFC 2822 formatted and base64url encoded string.
getter/setter pair
rawAsBytes List<int>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeEstimate int?
Estimated size in bytes of the message.
getter/setter pair
snippet String?
A short part of the message text.
getter/setter pair
threadId String?
The ID of the thread the message belongs to.
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