DioUtils 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

add(String key, String value) DioUtils
addAll(Map<String, String> params) DioUtils
addCancelToken(CancelToken cancelToken) DioUtils
addInterceptor(Interceptor interceptor) DioUtils
clearParams() → void
dioInit() → Dio
get() Future<ApiResponse>
headers(Map<String, String> headers) DioUtils
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post() Future<ApiResponse>
postForm() Future<ApiResponse>
postJson() Future<ApiResponse>
removeInterceptor(Interceptor interceptor) DioUtils
resType(ResponseType type) DioUtils
toString() String
A string representation of this object.
inherited
uploadFile() Future<ApiResponse>
uploadMD5File() Future<ApiResponse>

Operators

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

Static Methods

builder(String url) DioUtils
clear() → void
isNetWorkAvailable() Future<NetWorkState>