appendMessage method Null safety

Future<UidResponseCode?> appendMessage(
  1. MimeMessage message,
  2. Mailbox targetMailbox,
  3. {List<String>? flags}
)

Appends the message to the targetMailboxF.

Optionally specify the message flags.

Implementation

Future<UidResponseCode?> appendMessage(
    MimeMessage message, Mailbox targetMailbox,
    {List<String>? flags}) {
  return _incomingMailClient.appendMessage(message, targetMailbox, flags);
}