reverse method Null safety

DeleteResult reverse()

Reverses the result so that the original sequence and mailbox becomes the target ones.

Implementation

DeleteResult reverse() {
  return DeleteResult(isUndoable, action, targetSequence, targetMailbox,
      originalSequence, originalMailbox);
}