Using Dart SDK I get "The function 'Databases' isn't defined." error when trying Databases(client). I import 'package:dart_appwrite/dart_appwrite.dart' and User(client) works but not Databases. What am I missing?
TL;DR
[SOLVED] User error - outdated sdk version was the issue. Updated to the latest version and now the code works properly.
wikkit
2 Apr, 2024, 11:18
Oh never mind, user error.
For some reason I had old sdk version as a dependency. Updated to latest and it seems to work now.
ideclon
2 Apr, 2024, 11:19
If your issue has been solved, you can mark this post as closed by adding "[SOLVED]" to the beginning of the title