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