NetworkException class

Exception occurring when there is a network-level error. This constructor is deprecated, use NetworkException.fromException instead.

Inheritance

Constructors

NetworkException({required Object originalException, StackTrace originalStackTrace = StackTrace.empty, String? message, required Uri? uri})
NetworkException.fromException({required Object originalException, required StackTrace originalStackTrace, String? message, required Uri? uri})

Properties

hashCode int
The hash code for this object.
no setterinherited
message String?
final
originalException Object?
The original exception causing this exception
finalinherited
originalStackTrace StackTrace?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri?
final

Methods

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

Operators

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