WebResourceError constructor
      
      WebResourceError({ 
    
- required int errorCode,
- required String description,
- String? domain,
- WebResourceErrorType? errorType,
- String? failingUrl,
Creates a new WebResourceError
A user should not need to instantiate this class, but will receive one in WebResourceErrorCallback.
Implementation
WebResourceError({
  required this.errorCode,
  required this.description,
  this.domain,
  this.errorType,
  this.failingUrl,
})  : assert(errorCode != null),
      assert(description != null);