close method

  1. @override
Future<void> close()
override

Closes this database and releases associated resources.

Implementation

@override
Future<void> close() async {
  await super.close();
  devtools.handleClosed(this);

  assert(() {
    if (_openedDbCount[runtimeType] != null) {
      _openedDbCount[runtimeType] = _openedDbCount[runtimeType]! - 1;
    }
    return true;
  }());
}