removeUid method

void removeUid(
  1. MimeMessage message
)

Remoces the UID of the specified message.

Implementation

void removeUid(MimeMessage message) {
  final uid = message.uid;
  if (uid == null) {
    throw StateError('no UID found in message');
  }
  remove(uid);
}