INVALID property
Indicates an invalid setting or result. A generic error occurred.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - SslError.SSL_INVALID)
- iOS (Official API - SecTrustResultType.invalid)
- MacOS (Official API - SecTrustResultType.invalid)
Implementation
static final INVALID = SslErrorType._internalMultiPlatform('INVALID', () {
switch (defaultTargetPlatform) {
case TargetPlatform.android:
return 5;
case TargetPlatform.iOS:
return 0;
case TargetPlatform.macOS:
return 0;
default:
break;
}
return null;
});