MessageView constructor

  1. @jsonSerializable
const MessageView({
  1. required String id,
  2. required String rev,
  3. required String text,
  4. List<Facet>? facets,
  5. @unionConvoMessageEmbedViewConverter UConvoMessageEmbedView? embed,
  6. required MessageViewSender sender,
  7. required DateTime sentAt,
})

Implementation

@jsonSerializable
const factory MessageView({
  required String id,
  required String rev,
  required String text,
  List<Facet>? facets,
  @unionConvoMessageEmbedViewConverter UConvoMessageEmbedView? embed,
  required MessageViewSender sender,
  required DateTime sentAt,
}) = _MessageView;