shutdownAll method

Future<void> shutdownAll()

Stops the background isolate and disconnects all DatabaseConnections created. If you only want to disconnect a database connection created via connect, use GeneratedDatabase.close instead.

Implementation

Future<void> shutdownAll() async {
  return await shutdown(await _open(null), serialize: serialize);
}