PathNotFoundException class Null safety
Exception thrown when a file operation fails because a file or directory does not exist.
- Inheritance
-
- Object
- FileSystemException
- PathNotFoundException
Constructors
- PathNotFoundException(String path, OSError osError, [String message = ""])
-
const
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- message → String
-
Message describing the error.
finalinherited
- osError → OSError?
-
The underlying OS error.
finalinherited
- path → String?
-
The file system path on which the error occurred.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited