dcloud:用于与DCloud接口的SDK 源码

orbital_51244 62 0 ZIP 2021-05-04 20:05:08

云端 用于与DCloud接口的SDK 用法 一个简单的用法示例: import 'package:d_cloud/d_cloud.dart' ; Future main () async { final dCloud = DCloud (apiKey : 'your-api-key' , apiSecret : 'your-secret-key' ); final file = File ( join (current, 'example' , 'pic.jpeg' )); final result = await dCloud. upload (file); print (result); }

用户评论
请输入评论内容
评分:
暂无评论