close abstract method

bool close({
  1. bool deleteFromDisk = false,
})

Releases an Isar instance.

If this is the only isolate that holds a reference to this instance, the Isar instance will be closed. deleteFromDisk additionally removes all database files if enabled.

Returns whether the instance was actually closed.

Implementation

bool close({bool deleteFromDisk = false});