reAuthenticationWithCredential method
Implementation
Future<UserCredential?> reAuthenticationWithCredential(
AuthCredential credential) async {
if (auth.currentUser == null) return null;
final userCredential =
await auth.currentUser!.reauthenticateWithCredential(credential);
return userCredential;
}