WebResourceError class
Error returned in WebView.onWebResourceError
when a web resource loading error has occurred.
Constructors
- WebResourceError({required int errorCode, required String description, String? domain, WebResourceErrorType? errorType, String? failingUrl})
- Creates a new WebResourceError
Properties
- description → String
-
Description of the error that can be used to communicate the problem to the user.
final
- domain → String?
-
The domain of where to find the error code.
final
- errorCode → int
-
Raw code of the error from the respective platform.
final
- errorType → WebResourceErrorType?
-
The type this error can be categorized as.
final
- failingUrl → String?
-
Gets the URL for which the resource request was made.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited