FileSystemException.new constructor - FileSystemException - dart:io library (original) (raw)
constFileSystemException([
Creates a new file system exception with optional parts.
Creates an exception with FileSystemException.message,FileSystemException.path and FileSystemException.osErrorvalues take from the optional parameters of the same name.
The message
and path
path defaults to empty strings if omitted, and osError
defaults to null
.
Implementation
const FileSystemException([this.message = "", this.path = "", this.osError]);