deletePathAssets function

void deletePathAssets(
  1. String path
)

Delete the file at the specified path.

Implementation

void deletePathAssets(String path) {
  var _path = path;
  if (AssetsTool.isWindows()) {
    _path = path.replaceAll('/', '\\');
  }
  AssetsDelete.deleteAssets(_path);
}