ContentInfo class

Provides high level information about content parts.

Compare MimeMessage.listContentInfo().

Constructors

ContentInfo(String fetchId)
Creates a new content info

Properties

cid String?
The content-ID
getter/setter pair
contentDisposition ContentDispositionHeader?
The disposition of this content (inline / attachment)
getter/setter pair
contentType ContentTypeHeader?
The type of this content, e.g. text/plain
getter/setter pair
fetchId String
The fetch ID of the part associated with this content
final
fileName String?
The file name
no setter
hashCode int
The hash code for this object.
no setterinherited
isApplication bool
Is the associated message part an application-specific part like json?
no setter
isAudio bool
Is the associated message part an audio recording?
no setter
isFont bool
Is the associated message part a font?
no setter
isImage bool
Is the associated message part an image?
no setter
isMessage bool
Is the associated message part a message itself?
no setter
isModel bool
Is the associated message part a model?
no setter
isMultipart bool
Is the associated message part a multipart ie contains further parts?
no setter
isOther bool
Is the associated message part of unknown media type?
no setter
isText bool
Is the associated message part a text?
no setter
isVideo bool
Is the associated message part a video?
no setter
mediaType MediaType?
The media type of the associated message part
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int?
The size of the associated message part in bytes
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited