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