WitsystemNet class

Constructors

WitsystemNet()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
upload(String url, List<File> list) → dynamic
上传文件

Operators

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

Static Methods

authPost(String url, Map<String, dynamic> map) Future<WitsystemError>
验证签名的post 请求
authUpload(String url, List<File> list) Future<WitsystemError>
带权限的upload
get<T>(String uri, {Map<String, dynamic>? queryParameters, Options? options, CancelToken? cancelToken, ProgressCallback? onReceiveProgress}) Future<Response<T>>
get请求
post(String url, Map<String, dynamic> map) Future<WitsystemError>
不验证的请求