FlutterNos class
Constructors
- FlutterNos({OnUploadResult? onSuccess, OnUploadResult? onFailure})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onFailure ↔ OnUploadResult?
-
失败回调,只支持安卓
getter/setter pair
- onSuccess ↔ OnUploadResult?
-
图片上传成功后的回调
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
init(
{Map< String, Object> ? config}) → Future<void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setOnFailure(
OnUploadResult onFailure) → void - 目前只支持安卓
-
setOnSuccess(
OnUploadResult onSuccess) → void -
toString(
) → String -
A string representation of this object.
inherited
-
uploadImage(
String bucketName, String objName, String uploadToken, String imagePath) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited