PoorConnectionException class final

Exception thrown when the network quality is too low for a requested operation.

This is typically thrown by NetworkReachability.guard when the detected ConnectionQuality is worse than the required minQuality.

Handling: Suggest the user move to a better location or switch to a different network (e.g., from Cellular to WiFi).

Inheritance

Constructors

PoorConnectionException(String message)
Creates a new PoorConnectionException with the given message.

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A human-readable description of the error.
finalinherited
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