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
- 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...
- [SOLVED] OAuth With Google & Flutter
Hi all, I'm trying to sign in with google and it all goes swimmingly until the call back. I get a new user created on the appwrite dashboard however the flutte...