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