
'''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
- Type String is not a subtype of type int...
In flutter using appwrite: ^17.1.0, ```DocumentList response = await databases!.listDocuments( databaseId: "xxx", collectionId: "xxx", ...
- How to pass session from browser to a mo...
I have a self-hosted Appwrite container. I also have a www page (A) which should acts as login page for different www services (B). User click login in B, is re...
- Two steps signIn with one user:
'm using appwrite to try two phase login, step 1: await account.createAnonymousSession(); or final appwriteUser = await account.create( ...
