signInWithPassword method

Future<FirebaseAccount> signInWithPassword(
  1. String email,
  2. String password, {
  3. bool autoRefresh = true,
})

Implementation

Future<FirebaseAccount> signInWithPassword(String email, String password,
    {bool autoRefresh = true}) async {
  if (_instance == null) {
    throw Exception(
        "Firestore hasn't been initialized. Please call Firestore.initialize() before using it.");
  }
  firebaseAccount = await _firebaseAuth!
      .signInWithPassword(email, password, autoRefresh: autoRefresh);
  return firebaseAccount!;
}