EntitySyncMetadata class

Optional sync metadata kept beside the canonical entity payload.

Constructors

EntitySyncMetadata({bool synced = true, SyncOrigin origin = SyncOrigin.server, DateTime? updatedAt})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
origin → SyncOrigin
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
synced → bool
final
updatedAt → DateTime?
final

Methods

copyWith({bool? synced, SyncOrigin? origin, DateTime? updatedAt}) → EntitySyncMetadata
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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