WebResourceError constructor Null safety

WebResourceError(
  1. {required int errorCode,
  2. required String description,
  3. String? domain,
  4. WebResourceErrorType? errorType}
)

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,
});