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
);
}
