exists static method

Future<bool> exists(
  1. String name,
  2. {String? directory}
)

Checks whether a database of the given name exists in the given directory or not.

Implementation

static Future<bool> exists(String name, {String? directory}) =>
    AsyncDatabase.exists(name, directory: directory);