incrementOperationRetryCount method
Increment retry count for an operation
Implementation
Future<void> incrementOperationRetryCount(int operationId) async {
_ensureInitialized();
await _isar.writeTxn(() async {
final operation = await _isar.syncOperations.get(operationId);
if (operation != null) {
operation.retryCount += 1;
await _isar.syncOperations.put(operation);
}
});
}