ConvoView constructor
- @jsonSerializable
- required String id,
- required String rev,
- required List<
ProfileViewBasic> members, - @unionConvoMessageViewConverter UConvoMessageView? lastMessage,
- required bool muted,
- @Default(false) bool opened,
- 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;