DioUtil class
Constructors
-
DioUtil()
-
工厂构造方法
factory
Properties
-
dio
→ Dio?
-
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
initNet({String? baseUrl, Dio? dio, dynamic hookRequest(RequestOptions options)?})
→ Future<void>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
request<T>(String path, {DioMethod method = DioMethod.get, Map<String, dynamic>? parmas, dynamic data, CancelToken? cancelToken, Options? options, Dio? dio, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<DioResult<T>>
-
-
toString()
→ String
-
A string representation of this object.
inherited