TextMimeData class Null safety

Represents textual mime data

Inheritance

Constructors

TextMimeData(String text, bool containsHeader)
Creates a new text based mime data with the specifid text and the containsHeader information.

Properties

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

Methods

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

Operators

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