exists method Null safety

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 bool exists(String name, {String? directory}) =>
    FfiDatabase.exists(name, directory: directory);