loginWithEmailPassword method
Authenticates with email and password. currentUser is set upon return.
Note: You will need to enable email and password auth support on Firebase for this to work.
Implementation
Future<void> loginWithEmailPassword(String email, String password) async {
'Signing in with Firebase'.logInfo();
final UserCredential userCredential = await inqvineFirebase.firebaseAuth.signInWithEmailAndPassword(email: email, password: password);
_currentUser = userCredential.user;
'Sign in was successful'.logInfo();
}