Open answer0732 opened 4 years ago
when i upload file to cloud, I want to know when it is completed(Success or failure )
uploadFile return Future , when i use it , it's return null , Is this a sign of completion?
Client webDavClient = Client(_address, _username, _password, '/', protocol: 'https'); Future<dynamic> result = await webDavClient.uploadFile(localPath, 'somePath/' + 'myFile.db'); print('result is $x');
this is message : result is null
when i upload file to cloud, I want to know when it is completed(Success or failure )
uploadFile return Future , when i use it , it's return null , Is this a sign of completion?
this is message : result is null