WebResourceError class Null safety

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})
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
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited