CloudBaseRequest 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
-
download(String url, String savePath, void onProcess(int count, int total)?)
→ dynamic
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
post(String action, Map<String, dynamic> data)
→ Future<CloudBaseResponse>
-
发送请求,携带 accessToken
-
postFileByFormData({required String url, String? filePath, Map<String, dynamic>? metadata, void onProcess(int count, int total)?})
→ dynamic
-
使用 form 表单传递文件
-
postWithoutAuth(String action, Map<String, dynamic> data)
→ Future<CloudBaseResponse>
-
发送请求,不携带 accessToken,使用于登录
-
toString()
→ String
-
A string representation of this object.
inherited