shutdownAll method
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 {
final (channel, serialize) = await _open(null);
return await shutdown(channel, serialize: serialize);
}