toModel method

ChatMessageQuote toModel()

Constructs a new ChatMessageQuote from this ChatMessageQuoteMixin.

Implementation

ChatMessageQuote toModel() => ChatMessageQuote(
  original:
      original == null
          ? null
          : _chatItem(original!.node, original!.cursor).value,
  author: author.id,
  at: at,
  text: text,
  attachments: attachments.map((e) => e.toModel()).toList(),
);