exists method Null safety

Future<bool> exists(
  1. String name,
  2. {String? directory}
)
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);