MimeData class abstract

Abstracts textual or binary mime data

Implementers

Constructors

MimeData.new(bool containsHeader)
Creates a new mime data and specifies wether this data contains header information as well.

Properties

bodySize int
no setter
containsHeader bool
Defines if this mime data includes header data
final
contentType ContentTypeHeader?
no setter
hashCode int
The hash code for this object.
no setterinherited
hasParts bool
Returns true when there are children
no setter
headersList List<Header>?
All known headers of this mime data
getter/setter pair
parts List<MimeData>?
The children of this mime data
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
no setter

Methods

decodeBinary(String? contentTransferEncoding) Uint8List
Decodes the data represented by the mime data
decodeMessageData() MimeData?
Decodes message/rfc822 content
decodeText(ContentTypeHeader? contentTypeHeader, String? contentTransferEncoding) String
Decodes the text represented by the mime data
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(ContentTypeHeader? contentTypeHeader) → void
Parses this data
render(StringBuffer buffer, {bool renderHeader = true}) → void
Renders this mime data.
toString() String
A string representation of this object.
override

Operators

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