addMessage method Null safety

void addMessage(
  1. MimeMessage message
)

Adds the UID or sequence ID of the message to this sequence.

Implementation

void addMessage(MimeMessage message) {
  if (isUidSequence) {
    add(message.uid!);
  } else {
    add(message.sequenceId!);
  }
}