compact method

Future compact()

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, data will be read againt to handle external changes.

Implementation

Future compact() => (this as SembastDatabase).compact();