undoDeleteMessages method Null safety

Future<DeleteResult> undoDeleteMessages(
  1. DeleteResult deleteResult
)

Reverts the previous deleteResult, note that is only possible when deleteResult.isUndoable is true.

Implementation

Future<DeleteResult> undoDeleteMessages(DeleteResult deleteResult) {
  return _incomingMailClient.undoDeleteMessages(deleteResult);
}