CyDriveClient class
Methods
-
connectMessageService()
→ Future<bool>
-
-
delete(String path)
→ Future<FileInfo>
-
-
download(String path, String savePath, {bool autoStartTask = true, bool shouldTruncate = false})
→ Future<DataTask>
-
-
downloadShareFile(String link, String savePath, {bool autoStartTask = true, bool shouldTruncate = false})
→ Future<DataTask>
-
-
getMessages({DateTime? lastTime, int count = 10})
→ Future<List<Message>>
-
-
listDir(String path)
→ Future<List<FileInfo>>
-
-
listenMessage(void onData(Message))
→ void
-
-
login({Account? account})
→ Future<bool>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
sendText(String text, String receiver)
→ Future<Message>
-
-
share(String filePath, {int expire = 7 * Duration.minutesPerDay, List<int>? to, String password = '', int accessCount = -1})
→ Future<String>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
upload(String path, String savePath, {bool autoStartTask = true, dynamic shouldTruncate = true})
→ Future<DataTask>
-