close method

  1. @override
Future close()

Closes the underlying database connection.

Implementation

@override
Future close() async {
  await _databaseConnection?.close();
  _finalizer.detach(this);
  _databaseConnection = null;
}