TOO_MANY_REDIRECTS property

WebResourceErrorType TOO_MANY_REDIRECTS
final

A redirect loop has been detected or the threshold for number of allowable redirects has been exceeded (currently 16 on iOS).

Officially Supported Platforms/Implementations:

Implementation

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