DEV Community

Discussion on: Getting Started with Appwrite Realtime for Flutter

akamaicloud profile image
Otto Akama

For some reason, the _loadItems method could not work for me. However, when I assigned items to this it worked.

items = results.documents
.map((document) => {"name":['name']})

I guess because of different versions of AppWrite.

lohanidamodar profile image
Damodar Lohani Author

Yes actually the new Appwrite SDK has the response models so we no longer receive map