NetworkError class

Represents a network-related error.

This class is used for handling network issues, such as connectivity problems.

  • error: An IOException that provides details about the network issue.
Inheritance

Constructors

NetworkError({required IOException error})
Constructs a NetworkError response with the given exception.
const

Properties

error IOException
The IOException representing the network error.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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