SyncLog constructor

const SyncLog({
  1. required String syncId,
  2. required String entityType,
  3. required String entityId,
  4. required SyncOperation operation,
  5. required String dataJson,
  6. required bool isFileToUpload,
  7. required bool isSynced,
  8. required int retryCount,
  9. String? lastError,
  10. required DateTime createdAt,
  11. DateTime? lastAttemptAt,
  12. DateTime? syncedAt,
})

Implementation

const SyncLog({
  required this.syncId,
  required this.entityType,
  required this.entityId,
  required this.operation,
  required this.dataJson,
  required this.isFileToUpload,
  required this.isSynced,
  required this.retryCount,
  this.lastError,
  required this.createdAt,
  this.lastAttemptAt,
  this.syncedAt,
});