verify method

  1. @override
  2. @visibleForTesting
  3. @experimental
Future<void> verify(
  1. List<OBJ> objects
)
override

Verifies the integrity of the collection and its indexes.

Throws an exception if the collection does not contain exactly the provided objects.

Do not use this method in production apps.

Implementation

@override
@visibleForTesting
@experimental
Future<void> verify(List<OBJ> objects) {
  return _spanHelper.asyncWrapInSpan(
    'verify',
    () {
      // ignore: invalid_use_of_visible_for_testing_member
      return _isarCollection.verify(objects);
    },
    dbName: _dbName,
    collectionName: name,
  );
}