
can i still use model.document like this @override Future<model.Document> getUserData(String uid) { return _db.getDocument( databaseId: AppConstants.APPWRITE_DATABASE_ID, collectionId: AppConstants.APPWRITE_USERS_COLLECIION, documentId: uid, ); } by importing it like this - import 'package:appwrite/models.dart' as model;

sure

Yes that's perfectly fine!

Ofcourse, also just a suggestion to use the ` sign for code block - makes it very easy to read ❤️
Recommended threads
- 503 Timeout when Updating or Upserting D...
Hey I’m running into an issue when trying to update or upsert a row in Appwrite. The request hangs for a while and then throws this error: ``` AppwriteException...
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Sites 30MB limit from GitHub
I’m deploying a site from github as Other type on the Hobby plan. It is actually a Flutter web app but it’s in a subdirectory with the root being an html landin...
