link method

Future<void> link(
  1. AuthCredential credential
)

Implementation

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