Quote:
if (_auth.currentUser != null) {
&& FirebaseAuth.instance.currentUser.reload() != null
The line starting with
&&
is not a valid statement. Presumably you wanted to make that part of the
if
condition, in which case it need to be inside the brackets on that line:
if (_auth.currentUser != null && FirebaseAuth.instance.currentUser.reload() != null) {