Rank 3: Container
Hello I upgraded my instance from 1.6.2 to latest 1.7.4, doing migration.
All seems to work fine but when I use the latest version of the appwrite plugin on my Flutter app (17.1.0) and trying to list documents I got "Unhandled Exception: type 'Null' is not a subtype of type 'int'".
I debugged and found that my instance do not return the field $sequence which is required in the appwrite library:
factory Document.fromMap(Map<String, dynamic> map) { return Document( $id: map['\$id'].toString(), $sequence: map['\$sequence'], $collectionId: map['\$collectionId'].toString(), $databaseId: map['\$databaseId'].toString(), $createdAt: map['\$createdAt'].toString(), $updatedAt: map['\$updatedAt'].toString(), $permissions: List.from(map['\$permissions'] ?? []), data: map, ); }How to fix that?