PathNotFoundException class

Exception thrown when a file operation fails because a file or directory does not exist.

Inheritance
Annotations
  • @Since("2.19")

Constructors

PathNotFoundException(String path, OSError osError, [String message = ""])
const

Properties

hashCode int
The hash code for this object.
no setterinherited
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.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited