junkMessages method Null safety

Future<MoveResult> junkMessages(
  1. MessageSequence sequence
)

Moves the specified message sequence to the junk folder

Implementation

Future<MoveResult> junkMessages(MessageSequence sequence) {
  return moveMessagesToFlag(sequence, MailboxFlag.junk);
}