Get error in self hosted app while trying
Account account = Account(client);
TypeScript
User result = await account.create(userId: ID.unique(),email: email,password: password,name: "demo", // Optional );
the came code is working on cloud
TL;DR
Developers experiencing DartError "TypeError: null: type 'Null' is not a subtype of type 'bool'" when using a self-hosted app may be encountering issues with data types. In this case, check if the client information is properly handled and returned. Double-check the data types being passed to the Account constructor and its related methods. Ensuring that the data passed matches the expected types should resolve this error.