DioConnectivityRequest class

Request with stream connections

Constructors

DioConnectivityRequest({required Dio dio, required Connectivity connectivity})
pass dio object pass connectivity object

Properties

connectivity → Connectivity
connectivity for listen to the internet state
final
dio → Dio
dio client for request
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>
add your requset to completer when you are connecting to the internet
toString() String
A string representation of this object.
inherited

Operators

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