MimeData class Null safety

Abstracts textual or binary mime data

Implementers

Constructors

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

Properties

bodySize int
read-only
containsHeader bool
Defines if this mime data includes header data
final
contentType ContentTypeHeader?
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
hasParts bool
Returns true when there are children
read-only
headersList List<Header>?
All known headers of this mime data
read / write
parts List<MimeData>?
The children of this mime data
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size int
read-only

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 non-existent 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