copyFile method

PluginInstaller copyFile({
  1. required String sourcePath,
  2. required String targetPath,
})

Enqueues a CopyFile copying sourcePath to targetPath.

@param sourcePath Source path. @param targetPath Destination path. @return This installer (chainable).

Implementation

PluginInstaller copyFile({
  required String sourcePath,
  required String targetPath,
}) {
  _ops.add(CopyFile(sourcePath: sourcePath, targetPath: targetPath));
  return this;
}