clearSync method

  1. @override
void clearSync()
override

Remove all data in this collection and reset the auto increment value.

Implementation

@override
void clearSync() {
  _spanHelper.syncWrapInSpan(
    'clearSync',
    () {
      return _isarCollection.clearSync();
    },
    dbName: _dbName,
    collectionName: name,
  );
}