OpLogEntry<T extends EntityModel> constructor
const
OpLogEntry<T extends EntityModel> (
- T entity,
- DataOperation operation, {
- int? id,
- required DateTime createdAt,
- required String createdBy,
- required DataModelType type,
- bool syncedUp = false,
- bool syncedDown = false,
- DateTime? syncedUpOn,
- DateTime? syncedDownOn,
- String? serverGeneratedId,
- String? clientReferenceId,
- List<
AdditionalId> additionalIds = const [], - int syncDownRetryCount = 0,
- int rowVersion = 1,
- bool nonRecoverableError = false,
Implementation
const OpLogEntry(
this.entity,
this.operation, {
this.id,
required this.createdAt,
required this.createdBy,
required this.type,
this.syncedUp = false,
this.syncedDown = false,
this.syncedUpOn,
this.syncedDownOn,
this.serverGeneratedId,
this.clientReferenceId,
this.additionalIds = const [],
this.syncDownRetryCount = 0,
this.rowVersion = 1,
this.nonRecoverableError = false,
});