updateUserPassword method

Future<void> updateUserPassword(
  1. String newPassword
)

Updates the current user's password. Throws FirebaseAuthException on failure — handle in the provider/caller.

Implementation

Future<void> updateUserPassword(String newPassword) async =>
    await currentUser!.updatePassword(newPassword);