文件名称:dcloud:用于与DCloud接口的SDK
文件大小:4.69MB
文件格式:ZIP
更新时间:2024-04-21 11:11:25
Dart
云端 用于与DCloud接口的SDK 用法 一个简单的用法示例: import 'package:d_cloud/d_cloud.dart' ; Future < void> 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); }
【文件预览】:
dcloud-master
----.gitignore(281B)
----pubspec.yaml(463B)
----LICENSE(34KB)
----CHANGELOG.md(28B)
----README.md(358B)
----example()
--------dcloud_example.dart(321B)
--------pic.jpeg(4.73MB)
----lib()
--------src()
--------d_cloud.dart(100B)
----analysis_options.yaml(434B)