fromSequenceId method Null safety

MessageSequence fromSequenceId(
  1. MimeMessage message
)

Convenience method for getting the sequence for a single message.

Implementation

static MessageSequence fromSequenceId(MimeMessage message) {
  final sequence = MessageSequence();
  sequence.addSequenceId(message);
  return sequence;
}