UNSUPPORTED_SCHEME property

WebResourceErrorType UNSUPPORTED_SCHEME
final

Unsupported URI scheme. Typically this occurs when there is no available protocol handler for the URL.

Officially Supported Platforms/Implementations:

Implementation

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