pathName static method

String pathName(
  1. String? dbName, {
  2. String? dbSubDir,
  3. List<String>? subDirs,
})

Implementation

static String pathName(
  String? dbName, {
  String? dbSubDir,
  List<String>? subDirs,
}) {
  return p.joinAll([
    LocalPersist._appDocDir!.path,
    dbSubDir ?? LocalPersist.defaultDbSubDir,
    if (subDirs != null) ...subDirs,
    "$dbName${LocalPersist.defaultTermination}"
  ]);
}