copyFile function

Future<File> copyFile(
  1. File src,
  2. FileSystemEntity dst, {
  3. CopyOptions? options,
})

Implementation

Future<File> copyFile(File src, FileSystemEntity dst,
    {CopyOptions? options}) async {
  await copyFileImpl(src, dst, options: options);
  return asFile(dst);
}