getDatabaseFactory function

DatabaseFactory getDatabaseFactory({
  1. String? packageName,
  2. String? rootPath,
})

Use app data on linux and windows if rootPath is null

Throw if no path defined

Implementation

DatabaseFactory getDatabaseFactory({String? packageName, String? rootPath}) =>
    databaseFactoryIo;