needsDataSync method
Returns true
if the entity's data needs to be synchronized
with the cloud.
Implementation
bool needsDataSync() =>
serverTimeSyncedAt == null || serverTimeSyncedAt!.isBefore(updatedAt!);
Returns true
if the entity's data needs to be synchronized
with the cloud.
bool needsDataSync() =>
serverTimeSyncedAt == null || serverTimeSyncedAt!.isBefore(updatedAt!);