close method

Future<void> close()

Implementation

Future<void> close() {
  if (_db == null) throw Exception('DB is not open');

  _initialisationCompleter = null;

  return _db!.close();
}