linkWithExistingUser property

bool linkWithExistingUser
final

If true, links the generated credentials to an existing signed in user, and not creating new session.

Internally, if true, this calls the linkWithCredential method instead of signInWithCredential.

Make sure a user is signed in already, else an error is thrown.

NOTE: Does not work on web platforms.

Defaults to false

Implementation

final bool linkWithExistingUser;