moveMessage method Null safety

Future<MoveResult> moveMessage(
  1. MimeMessage message,
  2. Mailbox target
)

Moves the specified message to the given target folder

Implementation

Future<MoveResult> moveMessage(MimeMessage message, Mailbox target) {
  return _incomingMailClient.moveMessages(
      MessageSequence.fromMessage(message), target);
}