FileSystemException class Null safety

Exception thrown when a file operation fails.

Implemented types

Constructors

FileSystemException([String message = "", String? path = "", OSError? osError])
Creates a new file system exception with optional parts.
const

Properties

hashCode int
The hash code for this object.
read-only, inherited
message String
Message describing the error.
final
osError OSError?
The underlying OS error.
final
path String?
The file system path on which the error occurred.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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