DdTaokeUtil 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
-
tkApi
→ String
-
final
Methods
-
errorHandle(ApiError? error, int code, String message, {dynamic data})
→ void
-
请求没有正常执行
-
get(String url, {Map<String, dynamic>? data, ApiError? error, OnRequestStart? onStart, bool? isTaokeApi, ResultDataMapHandle? mapData, CancelToken? cancelToken, ValueChanged? otherDataHandle})
→ Future<String>
-
发起http请求
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
post(String url, {Map<String, dynamic>? data, OnRequestStart? onStart, ApiError? error, bool? isTaokeApi, ValueChanged? otherDataHandle})
→ Future<String>
-
POST 请求
-
toString()
→ String
-
A string representation of this object.
inherited