deleteFile method

  1. @override
void deleteFile(
  1. String path
)
override

Deletes a file at path if it exists, throwing a FileSystemException otherwise.

Implementation

@override
void deleteFile(String path) {
  final type = _recognizeType(path);
  if (type == null) {
    return _memory.deleteFile(path);
  } else {
    _markExists(type, false);
  }
}