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