'''onProgress: (UploadProgress progress) { print(progress.toString() +"Progress"); }, );'''
storage.createFile( bucketId: 'bucketid', fileId: ID.unique(), file: InputFile.fromPath(path: filePath, filename: fileName), onProgress: (UploadProgress progress) { print(progress.toString() +"Progress"); }, );
don't use progress.toString()
. access the fields individually
it's usually a bad idea to do toString()
because objects may not serialize to string like you expect
ok
Recommended threads
- Current User is Not authorized
recreating same Thread
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...