FILE_IS_DIRECTORY property

WebResourceErrorType FILE_IS_DIRECTORY
final

A request for an FTP file resulted in the server responding that the file is not a plain file, but a directory.

Officially Supported Platforms/Implementations:

Implementation

static final FILE_IS_DIRECTORY =
    WebResourceErrorType._internalMultiPlatform('FILE_IS_DIRECTORY', () {
  switch (defaultTargetPlatform) {
    case TargetPlatform.iOS:
      return -1101;
    case TargetPlatform.macOS:
      return -1101;
    default:
      break;
  }
  return null;
});