getQuote property

QuoteModel? get getQuote

Implementation

QuoteModel? get getQuote {
  Map? quoteMap = attributes?[quoteKey];
  if (quoteMap != null) {
    return QuoteModel(
      quoteMap[quoteMsgIdKey],
      quoteMap[quoteMsgTypeKey],
      quoteMap[quoteMsgPreviewKey],
      quoteMap[quoteMsgSenderKey],
    );
  }
  return null;
}