CloudBaseRequest class
CloudBase Request
Constructors
- CloudBaseRequest(CloudBaseCore _core)
- CloudBaseRequest 初始化
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, required String? filePath, required 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited