plainText property
String
get
plainText
Plain text content with mentions removed.
Implementation
String get plainText {
final buf = StringBuffer();
for (final seg in segments) {
if (seg is TextSegment) {
buf.write(seg.text);
}
}
return buf.toString().trim();
}