updatePassword method

Future<void> updatePassword(
  1. String newPassword
)

Update the authenticated user's password. Throws AuthException on failure.

Implementation

Future<void> updatePassword(String newPassword) async {
  await _client.auth.updateUser(UserAttributes(password: newPassword));
}