NotFoundError when the path does not exist; PathError
(or a subclass) when removal fails.
void remove(bool recursive = false) constRemoves the file or directory at this path.
recursive | If true, remove directories and their contents recursively. |
NotFoundError when the path does not exist; PathError
(or a subclass) when removal fails.