setCachePath static method

void setCachePath(
  1. String path
)

Set cache path

Implementation

static void setCachePath(String path) {
  _storageConfig = (_storageConfig ?? const StorageConfig()).copyWith(
    cachePath: _processPath(path),
  );
  logi('Updated cachePath to: ${_storageConfig?.cachePath}');
}