envelope property

Envelope? get envelope

The envelope of the message.

This field is only populated when fetching ENVELOPE.

Implementation

Envelope? get envelope => _envelope;
set envelope (Envelope? value)

Implementation

set envelope(Envelope? value) {
  _envelope = value;
  if (value != null) {
    from = value.from;
    to = value.to;
    cc = value.cc;
    bcc = value.bcc;
    replyTo = value.replyTo;
    sender = value.sender;
  }
}