DioConnectivityRequestRetrier class

Request retrier that executes a previously sent request that failed with a network error. Executes when the connection returns All the rights belong to: https://resocoder.com/2020/03/23/dio-connectivity-retry-interceptor-flutter-tutorial/

Constructors

DioConnectivityRequestRetrier({required Dio dio})

Properties

connectivity ↔ Connectivity
getter/setter pair
dio Dio
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
scheduleRequestRetry(RequestOptions requestOptions) Future<Response>
toString() String
A string representation of this object.
inherited

Operators

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