shouldUpgradeAnonymous property
bool
shouldUpgradeAnonymous
Indicates whether the user should be upgraded and new credential should be linked.
Implementation
bool get shouldUpgradeAnonymous => auth.currentUser?.isAnonymous ?? false;