undoMoveMessages method

Future<MoveResult> undoMoveMessages(
  1. MoveResult moveResult
)

Reverts the previous move operation, if possible.

When messages have been specified for the original moveMessages operation, then the UIDs of those messages will be adjusted automatically.

Implementation

Future<MoveResult> undoMoveMessages(MoveResult moveResult) => _incomingLock
    .synchronized(() => _incomingMailClient.undoMove(moveResult));