WebResourceError class

Encapsulates information about errors occurred during loading of web resources.

Constructors

WebResourceError({required String description, required WebResourceErrorType type})

Properties

description String
The string describing the error.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type WebResourceErrorType
The type of the error.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts instance to a map.
toMap() Map<String, dynamic>
Converts instance to a map.
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? map) WebResourceError?
Gets a possible WebResourceError instance from a Map value.