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() {
  return shutdown(_open(), serialize: serialize);
}