clearRecipients method Null safety

void clearRecipients()

Removes all recipients from this message.

Compare removeRecipient and addRecipient.

Implementation

void clearRecipients() {
  to = null;
  cc = null;
  bcc = null;
}