CANCELLED property

WebResourceErrorType CANCELLED
final

An asynchronous load has been canceled.

Officially Supported Platforms/Implementations:

Implementation

static final CANCELLED = WebResourceErrorType._internalMultiPlatform(
  'CANCELLED',
  () {
    switch (defaultTargetPlatform) {
      case TargetPlatform.iOS:
        return -999;
      case TargetPlatform.macOS:
        return -999;
      case TargetPlatform.windows:
        return 14;
      case TargetPlatform.linux:
        return 302;
      default:
        break;
    }
    return null;
  },
);