copyDirectory function

Future<Directory> copyDirectory(
  1. Directory src,
  2. Directory? dst, {
  3. CopyOptions? options,
})

Implementation

Future<Directory> copyDirectory(Directory src, Directory? dst,
    {CopyOptions? options}) async {
  await copyDirectoryImpl(src, dst, options: options);
  return asDirectory(dst);
}