MessagesOperationResult class

Base class for operation results based on messages

Implementers

Constructors

MessagesOperationResult(MessageSequence originalSequence, Mailbox originalMailbox, MessageSequence? targetSequence, Mailbox? targetMailbox, MailClient mailClient, {required bool canUndo, List<MimeMessage>? messages})
Creates a new message operation result

Properties

canUndo bool
Can the move operation be undone?
final
hashCode int
The hash code for this object.
no setterinherited
isUndoable bool
Is this delete result undoable?
no setter
mailClient MailClient
The associated mail client
final
messages List<MimeMessage>?
The deleted messages, if known
final
originalMailbox Mailbox
The originating mailbox
final
originalSequence MessageSequence
The original message sequence used
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetMailbox Mailbox?
The target mailbox, can be null
final
targetSequence MessageSequence?
The resulting message sequence of the deleted messages
final

Methods

applyMessageIds(MessageSequence originalSequence, MessageSequence? targetSequence, List<MimeMessage>? messages) bool
Apply the message IDs from the targetSequence to the messages
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited