copyFileSystemEntity function

  1. @Deprecated('User copyDirectory or copyFile')
Future<FileSystemEntity> copyFileSystemEntity(
  1. FileSystemEntity src,
  2. FileSystemEntity dst, {
  3. CopyOptions? options,
})

Copy a file or a directory

Implementation

@Deprecated('User copyDirectory or copyFile')
Future<FileSystemEntity> copyFileSystemEntity(
    FileSystemEntity src, FileSystemEntity dst,
    {CopyOptions? options}) {
  options ??= CopyOptions(); // old behavior will change!
  return utils_impl.copyFileSystemEntity(src, dst, options: options);
}