lishuhao / sy_flutter_qiniu_storage

七牛云对象存储SDK,上传大文件,进度监听,取消上传
Other
70 stars 26 forks source link

Failed assertion: boolean expression must not be null #2

Closed hwh97 closed 5 years ago

hwh97 commented 5 years ago

///上传 /// /// key 保存到七牛的文件名 upload(String filepath, String token, String key) async { var res = await _channel.invokeMethod('upload', <String, String>{"filepath": filepath, "token": token, "key": key}); print(res); } 这里是不是缺少了return res ?

yiqun commented 5 years ago

根本就没有 return res,这样的插件怎么就发布了?

lishuhao commented 5 years ago

0.1.4版本upload添加返回值