Checks whether a database of the given name exists in the given directory or not.
name
directory
static Future<bool> exists(String name, {String? directory}) => AsyncDatabase.exists(name, directory: directory);