compact method

Future<void> compact()

Compact the Hive box to reduce file size

Implementation

Future<void> compact() async {
  _ensureInitialized();
  await _box!.compact();
  FluQueryLogger.debug('HiveCePersister compacted');
}