show messages whilst sending
This commit is contained in:
parent
d9f62a9de9
commit
b836c3b06e
5 changed files with 51 additions and 35 deletions
|
|
@ -28,11 +28,13 @@ abstract class Room with _$Room {
|
|||
|
||||
/// [timeline] is an IMap of timelineRowId to eventRowId
|
||||
/// [events] is an IMap of eventRowId to event
|
||||
/// [sticky] is an ISet of eventRowId
|
||||
const factory Room({
|
||||
@JsonKey(name: "meta") RoomMetadata? metadata,
|
||||
@Default(IMap.empty())
|
||||
@JsonKey(fromJson: Room.timelineTupleJsonToIMap)
|
||||
IMap<int, int?> timeline,
|
||||
@Default(ISet.empty()) ISet<int> sticky,
|
||||
|
||||
@Default(IMap.empty())
|
||||
@JsonKey(fromJson: Room.eventsJsonToIMap)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue