DioClient class

Constructors

DioClient.new(MockupInterceptor _mockupInterceptor, SecureHashInterceptor _secureHashInterceptor, TokenInjectorInterceptor _tokenInjectorInterceptor, HttpClient? client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteRequest({required String endpoint, Map<String, dynamic>? data, Map<String, dynamic>? queryParams}) Future<Response>
getRequest({required String endpoint, Map<String, dynamic>? queryParams, String? mockupResponsePath}) Future<Response>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postRequest({required String endpoint, required Map<String, dynamic> data, Map<String, dynamic>? queryParams, String? mockupResponsePath}) Future<Response>
putRequest({required String endpoint, required Map<String, dynamic> data, Map<String, dynamic>? queryParams}) Future<Response>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

dio ↔ Dio?
getter/setter pair