delete method
Deletes the entity at path, recursively if recursive is true.
Implementation
@override
void delete(String path, {bool recursive = false}) {
final entity = isDirectory(path) ? Directory(path) : File(path);
if (entity.existsSync()) {
entity.deleteSync(recursive: recursive);
}
}