close method
Closes this database and releases associated resources.
Implementation
Future<void> close() async {
await streamQueries.close();
await executor.close();
assert(() {
if (_openedDbCount[runtimeType] != null) {
_openedDbCount[runtimeType] = _openedDbCount[runtimeType]! - 1;
}
return true;
}());
}