mediaType property

MediaType? get mediaType

The media type of the associated message part

Implementation

MediaType? get mediaType => contentType?.mediaType;