WebResourceError constructor

const WebResourceError({
  1. required int errorCode,
  2. required String description,
  3. WebResourceErrorType? errorType,
  4. bool? isForMainFrame,
  5. String? url,
})

Used by the platform implementation to create a new WebResourceError.

Implementation

const WebResourceError({
  required this.errorCode,
  required this.description,
  this.errorType,
  this.isForMainFrame,
  this.url,
});