working sync complete
This commit is contained in:
parent
4862bf47c7
commit
97f2673b55
11 changed files with 61 additions and 100 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import "package:freezed_annotation/freezed_annotation.dart";
|
||||
import "package:nexus/models/content_uri.dart";
|
||||
import "package:nexus/models/epoch_date_time_converter.dart";
|
||||
import "package:nexus/models/lazy_load_summary.dart";
|
||||
part "room_metadata.freezed.dart";
|
||||
|
|
@ -12,12 +11,12 @@ abstract class RoomMetadata with _$RoomMetadata {
|
|||
// required CreateEventContent creationContent,
|
||||
// required TombstoneEventContent tombstoneEventContent,
|
||||
String? name,
|
||||
ContentUri? avatar,
|
||||
Uri? avatar,
|
||||
String? topic,
|
||||
String? canonicalAlias,
|
||||
LazyLoadSummary? lazyLoadSummary,
|
||||
required bool hasMemberList,
|
||||
@JsonKey(name: "preview_event_rowid") required String previewEventRowID,
|
||||
@JsonKey(name: "preview_event_rowid") required int previewEventRowID,
|
||||
@EpochDateTimeConverter() required DateTime sortingTimestamp,
|
||||
@Default(false) bool markedUnread,
|
||||
}) = _RoomMetadata;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue