handleSignUp() async {
if (await authProvider.register(
name: nameController.text,
username: usernameController.text,
email: emailController.text,
password: passwordController.text,
)){
please help me for this to solve thanktyouuu
2
Answers
It is possible your
register
will return null, you can directly useI will prefer to create a separate variable for this.