signIn method

Future<void> signIn(
  1. AuthCredential credential
)

Implementation

Future<void> signIn(AuthCredential credential) async {
  _log("Signing In with Credential <${credential.providerId}>");
  if ($signedIn && autoLink) {
    await linkCredential(credential);
    _logSuccess(
        "Successfully Signed In & Linked with Credential <${credential.providerId}> with ${$uid}");
    await bind($uid!);
    return;
  }

  await FirebaseAuth.instance
      .signInWithCredential(credential)
      .then(processUserCredential);
  _logSuccess(
      "Successfully Signed In with Credential <${credential.providerId}> as ${$uid}");
}