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([
    LocalJsonPersist._baseDirectory!.path,
    dbSubDir ?? LocalJsonPersist.defaultDbSubDir,
    if (subDirs != null) ...subDirs,
    "$dbName${LocalJsonPersist.jsonTermination}"
  ]);
}