Hi there, I just updated to 1.7.4 and also wanted to update the dart appwrite sdk to fit the appwrite version I am using now. So I updated to 16.2.0 and get the following error.
TypeScript
type 'Null' is not a subtype of type 'int'
#0 new Document.fromMap (package:dart_appwrite/src/models/document.dart:42)
#1 Databases.updateDocument (package:dart_appwrite/services/databases.dart:1353)
<asynchronous suspension>
#2 main (package:meili_sync/main.dart:124)
<asynchronous suspension>
#3 Future.any.onValue (dart:async/future.dart:615)
<asynchronous suspension>
Is there a fix without updating to 1.8?
TL;DR
Developers updating dart appwrite to version 16.2.0 encounter a "type 'Null' is not a subtype of type 'int'" error. A fix without updating to version 1.8 is not available.
Solution: Update to appwrite version 1.8 to resolve the error.Recommended threads
- Transaction Error
AppwriteException: Transaction with the requested ID could not be found. at Generator.next (<anonymous>) { code: 404, type: 'transaction_not_found', r...
- Sites Runtimes 1.8.0 Self-Hosting. Flutt...
I have a problem with the Flutter version for SITES RUNTIMES. I use self-hosting and updated to version 1.8.0, which according to the changelog says they updat...
- getFilePreview , getFileView , getFileDo...
I am on Appwrite self hosted 1.8.0 I use the web sdk 21.3.0 I created a bucket and it has this permission (users:create) then i enabled the file security then ...