MimeData class abstract
Abstracts textual or binary mime data
- Implementers
Constructors
- MimeData.new({required bool containsHeader})
- Creates a new mime data
Properties
- bodySize → int
-
Size of the MimePart body
no setter
- containsHeader → bool
-
Defines if this mime data includes header data
final
- contentType → ContentTypeHeader?
-
The content type of this mime data
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasParts → bool
-
Returns
true
when there are childrenno 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
-
Size of the entire MimePart
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