junkMessage method Null safety

Future<MoveResult> junkMessage(
  1. MimeMessage message
)

Moves the specified message to the junk folder

Implementation

Future<MoveResult> junkMessage(MimeMessage message) {
  return moveMessageToFlag(message, MailboxFlag.junk);
}