MessageView constructor

  1. @jsonSerializable
const MessageView({
  1. required String id,
  2. required String rev,
  3. required String text,
  4. List<Facet>? facets,
  5. @unionConvoMessageEmbedConverter UConvoMessageEmbed? 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,
  @unionConvoMessageEmbedConverter UConvoMessageEmbed? embed,
  required MessageViewSender sender,
  required DateTime sentAt,
}) = _MessageView;