TIMEOUT property

WebResourceErrorType TIMEOUT
final

Connection timed out.

Officially Supported Platforms/Implementations:

Implementation

static final TIMEOUT = WebResourceErrorType._internalMultiPlatform(
  'TIMEOUT',
  () {
    switch (defaultTargetPlatform) {
      case TargetPlatform.android:
        return -8;
      case TargetPlatform.iOS:
        return -1001;
      case TargetPlatform.macOS:
        return -1001;
      case TargetPlatform.windows:
        return 7;
      default:
        break;
    }
    return null;
  },
);