toQuote method

QuoteModel toQuote()

Implementation

QuoteModel toQuote() {
  if (bodyType == MessageType.TXT) {
    return QuoteModel.fromMessage(this, textContent);
  } else {
    return QuoteModel.fromMessage(this, '');
  }
}