SyncMetadata class
Constructors
- SyncMetadata(String collectionName, int lastRemoteTimestamp, {DateTime? lastUpdated})
Properties
- changes → Stream
-
no setter
- collectionName ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastRemoteTimestamp ↔ int
-
Last remote timestamp (UTC milliseconds) synced from server.
Used in sync:get_changes requests to fetch only newer changes.
getter/setter pair
- lastUpdated ↔ DateTime?
-
When this metadata was last updated
getter/setter pair
- objectSchema → dynamic
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
changesFor(
[List< String> ? keyPaths]) → Stream -
freeze(
) → SyncMetadata -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toEJson(
) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- schema → dynamic
-
final