linkWithCredential method

Future<UserCredential> linkWithCredential(
  1. AuthCredential credential
)

Links the user account with the given credentials, and returns any available additional user information, such as user name.

Implementation

Future<UserCredential> linkWithCredential(AuthCredential credential) =>
    handleThenable(jsObject.linkWithCredential(credential))
        .then((u) => UserCredential.fromJsObject(u));