MoveResult class

Result for move operations

Inheritance

Constructors

MoveResult(MoveAction action, MessageSequence originalSequence, Mailbox originalMailbox, MessageSequence? targetSequence, Mailbox? targetMailbox, MailClient mailClient, {required bool canUndo, List<MimeMessage>? messages})
Creates a new result for an move call

Properties

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

Methods

applyMessageIds(MessageSequence originalSequence, MessageSequence? targetSequence, List<MimeMessage>? messages) → bool
Apply the message IDs from the targetSequence to the messages
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reverse() → MoveResult
Reverses the result so that the original sequence and mailbox becomes the target ones.
toString() → String
A string representation of this object.
inherited

Operators

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