remove method

  1. @override
Future<Result<void, FileError>> remove(
  1. String path, {
  2. bool recursive = false,
  3. bool force = false,
})
override

Removes a file or directory. With force, a missing path is not an error.

Implementation

@override
Future<Result<void, FileError>> remove(
  String path, {
  bool recursive = false,
  bool force = false,
}) => _fs.remove(path, recursive: recursive, force: force);