DatumSyncOperation<T extends DatumEntityBase> constructor
const
DatumSyncOperation<T extends DatumEntityBase> ({})
Creates a DatumSyncOperation.
Implementation
const DatumSyncOperation({
required this.id,
required this.userId,
required this.entityId,
required this.type,
required this.timestamp,
this.data,
this.delta,
this.retryCount = 0,
this.sizeInBytes = 0,
}) : assert(retryCount >= 0, 'retryCount cannot be negative');