UNKNOWN property

WebResourceErrorType UNKNOWN
final

The URL Loading System encountered an error that it can’t interpret.

Officially Supported Platforms/Implementations:

Implementation

static final UNKNOWN = WebResourceErrorType._internalMultiPlatform(
  'UNKNOWN',
  () {
    switch (defaultTargetPlatform) {
      case TargetPlatform.android:
        return -1;
      case TargetPlatform.iOS:
        return -1;
      case TargetPlatform.macOS:
        return -1;
      case TargetPlatform.windows:
        return 0;
      case TargetPlatform.linux:
        return 399;
      default:
        break;
    }
    return null;
  },
);