SyncUpdate class

Available extensions

Constructors

SyncUpdate({required String nextBatch, RoomsUpdate? rooms, List<Presence>? presence, List<BasicEvent>? accountData, List<BasicEventWithSender>? toDevice, DeviceListsUpdate? deviceLists, Map<String, int>? deviceOneTimeKeysCount, List<String>? deviceUnusedFallbackKeyTypes})
SyncUpdate.fromJson(Map<String, Object?> json)

Properties

accountData ↔ List<BasicEvent>?
getter/setter pair
deviceLists ↔ DeviceListsUpdate?
getter/setter pair
deviceOneTimeKeysCount ↔ Map<String, int>?
getter/setter pair
deviceUnusedFallbackKeyTypes ↔ List<String>?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
hasPresenceUpdate → bool

Available on SyncUpdate, provided by the SyncUpdateFilters extension

Returns if this sync update has presence updates
no setter
hasRoomUpdate → bool

Available on SyncUpdate, provided by the SyncUpdateFilters extension

Returns true if this sync updat has a room update That means there is account data, if there is a room in one of the join, leave or invite blocks of the sync or if there is a to_device event.
no setter
nextBatch ↔ String
getter/setter pair
presence ↔ List<Presence>?
getter/setter pair
rooms ↔ RoomsUpdate?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toDevice ↔ List<BasicEventWithSender>?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited