unenroll method
Unenrolls a second factor from this user.
factorUid is the unique identifier of the second factor to unenroll.
multiFactorInfo is the MultiFactorInfo of the second factor to unenroll.
Only one of factorUid or multiFactorInfo should be provided.
Implementation
Future<void> unenroll({String? factorUid, MultiFactorInfo? multiFactorInfo}) {
assert(
(factorUid != null && multiFactorInfo == null) ||
(factorUid == null && multiFactorInfo != null),
'Exactly one of `factorUid` or `multiFactorInfo` must be provided',
);
return _delegate.unenroll(
factorUid: factorUid,
multiFactorInfo: multiFactorInfo,
);
}