History class

A record of a change to the user's mailbox. Each history change may affect multiple messages in multiple ways.

Constructors

History()
History.fromJson(Map _json)

Properties

id String
The mailbox sequence ID.
read / write
labelsAdded List<HistoryLabelAdded>
Labels added to messages in this history record.
read / write
labelsRemoved List<HistoryLabelRemoved>
Labels removed from messages in this history record.
read / write
messages List<Message>
List of messages changed in this history record. The fields for specific change types, such as messagesAdded may duplicate messages in this field. We recommend using the specific change-type fields instead of this.
read / write
messagesAdded List<HistoryMessageAdded>
Messages added to the mailbox in this history record.
read / write
messagesDeleted List<HistoryMessageDeleted>
Messages deleted (not Trashed) from the mailbox in this history record.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited