History class

A record of a change to the user's mailbox.

Each history change may affect multiple messages in multiple ways.

Constructors

History({String? id, List<HistoryLabelAdded>? labelsAdded, List<HistoryLabelRemoved>? labelsRemoved, List<Message>? messages, List<HistoryMessageAdded>? messagesAdded, List<HistoryMessageDeleted>? messagesDeleted})
History.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
The mailbox sequence ID.
getter/setter pair
labelsAdded List<HistoryLabelAdded>?
Labels added to messages in this history record.
getter/setter pair
labelsRemoved List<HistoryLabelRemoved>?
Labels removed from messages in this history record.
getter/setter pair
messages List<Message>?
List of messages changed in this history record.
getter/setter pair
messagesAdded List<HistoryMessageAdded>?
Messages added to the mailbox in this history record.
getter/setter pair
messagesDeleted List<HistoryMessageDeleted>?
Messages deleted (not Trashed) from the mailbox in this history record.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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