getFailedSyncOperations method

Future<List<SyncOperation>> getFailedSyncOperations()

Get failed sync operations

Implementation

Future<List<SyncOperation>> getFailedSyncOperations() async {
  _ensureInitialized();

  return await _isar.syncOperations
      .filter()
      .statusEqualTo('failed')
      .findAll();
}