from property

List<MailAddress>? get from

according to RFC 2822 section 3.6.2. there can be more than one FROM address, in that case the sender MUST be specified

Implementation

List<MailAddress>? get from {
  var addresses = _from;
  if (addresses == null) {
    addresses = decodeHeaderMailAddressValue('from');
    _from = addresses;
  }

  return addresses;
}
set from (List<MailAddress>? list)

Implementation

set from(List<MailAddress>? list) => _from = list;