Fetch account data
This commit is contained in:
parent
26b8e99a90
commit
97f4bc78f0
4 changed files with 46 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import "package:fast_immutable_collections/fast_immutable_collections.dart";
|
||||
import "package:freezed_annotation/freezed_annotation.dart";
|
||||
import "package:nexus/models/account_data.dart";
|
||||
import "package:nexus/models/room.dart";
|
||||
import "package:nexus/models/space_edge.dart";
|
||||
part "sync_data.freezed.dart";
|
||||
|
|
@ -9,7 +10,7 @@ part "sync_data.g.dart";
|
|||
abstract class SyncData with _$SyncData {
|
||||
const factory SyncData({
|
||||
@Default(false) bool clearState,
|
||||
// required IMap<String, AccountData> accountData,
|
||||
@Default(IMap.empty()) IMap<String, AccountData> accountData,
|
||||
@Default(IMap.empty()) IMap<String, Room> rooms,
|
||||
@Default(ISet.empty()) ISet<String> leftRooms,
|
||||
// required IList<InvitedRoom> invitedRooms,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue