setThreadSequence method Null safety

void setThreadSequence(
  1. MimeMessage mimeMessage
)

Sets the MimeMessage.threadSequence for the specified mimeMessage

Implementation

void setThreadSequence(MimeMessage mimeMessage) {
  final id = data.isUid ? mimeMessage.uid : mimeMessage.sequenceId;
  final sequence = _sequencesById[id];
  mimeMessage.threadSequence = sequence;
}