TextMimeData class

Represents textual mime data

Inheritance

Constructors

TextMimeData(String text, {required bool containsHeader})
Creates a new text based mime data

Properties

body ↔ String
The body of the data
getter/setter pair
bodySize → int
Size of the MimePart body
no setterinherited
containsHeader → bool
Defines if this mime data includes header data
finalinherited
contentType → ContentTypeHeader?
The content type of this mime data
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
hasParts → bool
Returns true when there are children
no setterinherited
headersList ↔ List<Header>?
All known headers of this mime data
getter/setter pairinherited
parts ↔ List<MimeData>?
The children of this mime data
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
Size of the entire MimePart
no setterinherited
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 nonexistent 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