useCustomBaseDirectory static method
If running from Flutter, the base directory will be the given baseDirectory
.
If running from tests, it will use the optional testDirectory
, or if this is not provided,
it will use the system's temp directory.
Implementation
static Future<void> useCustomBaseDirectory({
required Directory baseDirectory,
Directory? testDirectory,
}) =>
LocalPersist.useCustomBaseDirectory(baseDirectory: baseDirectory, testDirectory: testDirectory);