isValidFilePath property

bool get isValidFilePath

Validates if this is a valid file path

Returns true if the path is valid and points to an existing file

Example:

print('/path/to/document.pdf'.isValidFilePath); // true or false

Implementation

bool get isValidFilePath => QFileInfoUtils.isValidPath(this);