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;
  }
}