InitialSyncEvent<T extends DatumEntityInterface> class

Event emitted when event listeners are attached for a user and the full dataset snapshot needs to be delivered.

Inheritance

Constructors

InitialSyncEvent({required String userId, required List<T> data, DateTime? timestamp})
Creates an initial sync event.

Properties

data List<T>
Complete snapshot of the user's dataset at the time of subscription.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
The time at which the event occurred.
finalinherited
userId String
The user ID associated with this event.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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