copyPackage method

void copyPackage(
  1. Uri srcUri,
  2. Uri dstUri
)

Implementation

void copyPackage(Uri srcUri, Uri dstUri) {
  copyDirectory(src: srcUri, dst: dstUri);
  context.getFile(srcUri.resolve("pubspec.yaml")).copySync(
      dstUri.resolve("pubspec.yaml").toFilePath(windows: Platform.isWindows));
}