toString method
Implementation
@override
String toString() {
if (Content == null) {
return "";
} else {
try {
// Try to convert to original MIME content using specified charset. If this fails,
// return the Base64 representation of the content.
// it should always be UTF8 encoding for MimeContentUTF8
return utf8.decode(Content!);
} on FormatException {
return base64.encode(Content!);
}
}
}