DioClient class
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
-
delete(String url, {dynamic data, String? token, String contentType = 'application/json', int msTimeout = 10000})
→ Future<Response>
-
HTTP DELETE
override
-
get(String url, {String? token, dynamic responseType = ResponseType.json, Map<String, dynamic>? queryParams, int msTimeout = 10000})
→ Future<Response>
-
HTTP GET
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(String url, {String? token, dynamic data, String contentType = 'application/json', int msTimeout = 10000})
→ Future<Response>
-
HTTP PATCH
override
-
post(String url, {dynamic data, String? token, String contentType = 'application/json', int msTimeout = 10000})
→ Future<Response>
-
HTTP POST
override
-
put(String url, {dynamic data, String? token, String contentType = 'application/json', int msTimeout = 10000})
→ Future<Response>
-
HTTP PUT
override
-
toString()
→ String
-
A string representation of this object.
inherited