linkCredential method

Future<void> linkCredential(
  1. AuthCredential credential
)

Implementation

Future<void> linkCredential(AuthCredential credential) async {
  _log("Linking Credential <${credential.providerId}>");
  await FirebaseAuth.instance.currentUser!
      .linkWithCredential(credential)
      .then(processUserCredential);
  _logSuccess(
      "Successfully Linked Credential <${credential.providerId}> to ${$uid}");
}