textContent property

String get textContent

Implementation

String get textContent {
  if (bodyType == MessageType.TXT) {
    return (body as TextMessageBody).content;
  }
  return '';
}