createStorageDirSync static method

Directory? createStorageDirSync({
  1. String? category,
})

Implementation

static Directory? createStorageDirSync({String? category}) {
  String? path = getStoragePath(category: category);
  return createDirSync(path);
}