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