TransferEncoding enum Null safety

The transfer-encoding used for encoding 8bit data if necessary


automatic → const TransferEncoding

the automatic options tries to find the best solution, ie 7bit for ASCII texts, quoted-printable for 8bit texts and base64 for binaries.

const TransferEncoding(4)
base64 → const TransferEncoding

base64 encoding is used to transfer binary data

const TransferEncoding(3)
eightBit → const TransferEncoding

actually daring to transfer 8bit as it is, e.g. UTF8

const TransferEncoding(1)
quotedPrintable → const TransferEncoding

Quoted-printable is somewhat human readable

const TransferEncoding(2)
sevenBit → const TransferEncoding

this mime message/part only consists of 7bit data, e.g. ASCII text

const TransferEncoding(0)
values → const List<TransferEncoding>

A constant List of the values in this enum, in order of their declaration.

const List<TransferEncoding>


hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


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