headers property

List<MessagePartHeader>? headers
getter/setter pair

List of headers on this message part.

For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.

Implementation

core.List<MessagePartHeader>? headers;