compact method
Compact the database.
Behavior depends on the implementation. On sembast io, the file will be rewritten removing obsolete lines. On sembast_web and sembast_sqflite, history is purged.
Implementation
Future<void> compact() => (this as SembastDatabase).compact();