ConvoView constructor

  1. @jsonSerializable
const ConvoView({
  1. required String id,
  2. required String rev,
  3. required List<ProfileViewBasic> members,
  4. @unionConvoMessageViewConverter UConvoMessageView? lastMessage,
  5. required bool muted,
  6. @Default(false) bool opened,
  7. required int unreadCount,
})

Implementation

@jsonSerializable
const factory ConvoView({
  required String id,
  required String rev,
  required List<ProfileViewBasic> members,
  @unionConvoMessageViewConverter UConvoMessageView? lastMessage,
  required bool muted,
  @Default(false) bool opened,
  required int unreadCount,
}) = _ConvoView;