text property
String
get
text
The text content of the message.
Implementation
String get text {
if (content == null) {
return '';
}
final buffer = StringBuffer();
for (final part in content!) {
if (part is TextPart && part.text != null) {
buffer.write(part.text);
}
}
return buffer.toString();
}