file library Null safety

Classes

Directory
A reference to a directory on the file system.
ErrorCodes
Operating system error codes.
File
A reference to a file on the file system.
FileLock
Type of lock when requesting a lock on a file.
FileMode
The modes in which a File can be opened.
FileStat
The result of calling the POSIX stat() function on a file system object. [...]
FileSystem
A generic representation of a file system. [...]
FileSystemEntity
The common super class for io.File, io.Directory, and io.Link objects.
FileSystemEntityType
The type of an entity on the file system, such as a file, directory, or link. [...]
FileSystemEvent
Base event class emitted by FileSystemEntity.watch.
ForwardingDirectory<T extends Directory>
A directory that forwards all methods and properties to a delegate.
ForwardingFile
A file that forwards all methods and properties to a delegate.
ForwardingFileSystem
A file system that forwards all methods and properties to a delegate.
ForwardingFileSystemEntity<T extends FileSystemEntity, D extends FileSystemEntity>
A file system entity that forwards all methods and properties to a delegate.
A link that forwards all methods and properties to a delegate.
ForwardingRandomAccessFile
A RandomAccessFile implementation that forwards all methods and properties to a delegate.
IOSink
A combined byte and text output. [...]
A reference to a symbolic link on the file system.
RandomAccessFile
Random access to the data in a file. [...]

Exceptions / Errors

FileSystemException
Exception thrown when a file operation fails.
IOException
Base class for all IO related exceptions.
OSError
An Exception holding information about an error from the operating system.