i use ubuntu server and install appwrite (docker) when i login in flutter: account.createEmailPasswordSession(email: email, password: password) Error: Unhandled Exception: type 'Null' is not a subtype of type 'bool' the error in appwrite 14.0.0 package target.dart file (targets: List<Target>.from(map['targets'].map((p) => Target.fromMap(p))),)
factory Target.fromMap(Map<String, dynamic> map) { return Target( $id: map['$id'].toString(), $createdAt: map['$createdAt'].toString(), $updatedAt: map['$updatedAt'].toString(), name: map['name'].toString(), userId: map['userId'].toString(), providerId: map['providerId']?.toString(), providerType: map['providerType'].toString(), identifier: map['identifier'].toString(), expired: map['expired'], // this is null ); }
Recommended threads
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...