setStoragePaths static method

void setStoragePaths({
  1. String? cachePath,
  2. String? filesPath,
})

Set storage paths

Implementation

static void setStoragePaths({
  String? cachePath,
  String? filesPath,
}) {
  _storageConfig = StorageConfig(
    cachePath: _processPath(cachePath),
    filesPath: _processPath(filesPath),
  );
  logi('Updated _storageConfig to: $_storageConfig');
}