forked from Henry-Hiles/nexus
shows room but not really
This commit is contained in:
parent
7b0fea3a07
commit
5f96c8e57f
23 changed files with 885 additions and 805 deletions
|
|
@ -20,7 +20,9 @@ abstract class RoomMetadata with _$RoomMetadata {
|
|||
required bool hasMemberList,
|
||||
@JsonKey(name: "preview_event_rowid") required int previewEventRowID,
|
||||
@EpochDateTimeConverter() required DateTime sortingTimestamp,
|
||||
@Default(false) bool markedUnread,
|
||||
required int unreadHighlights,
|
||||
required int unreadNotifications,
|
||||
required int unreadMessages,
|
||||
}) = _RoomMetadata;
|
||||
|
||||
factory RoomMetadata.fromJson(Map<String, Object?> json) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue