close method

  1. @visibleForTesting
Future<void> close()

Closes this ScopedDriftProvider.

Implementation

@visibleForTesting
Future<void> close() async {
  db?._closed = true;
  await _completeAllOperations((db) async {
    await _caught(db?.close());
  });
}