FileNotFoundException constructor

FileNotFoundException(
  1. File? file
)

Will be thrown, if a File is passed, which is not found on the file system.

Implementation

FileNotFoundException(File? file)
    : super(
          'The transferred file could not be found. '
          'Make sure that the file ${file?.path} exists.',
          file);