


# updatePassword method




    *[<Null safety>](https://dart.dev/null-safety)*




FutureOrResult&lt;[Account](../../wyatt_authentication_bloc/Account-class.md)> updatePassword
({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password})





<p>Update or add <code>password</code>.</p>
<p>Throws a UpdatePasswordFailureInterface if
an exception occurs.</p>



## Implementation

```dart
FutureOrResult<Account> updatePassword({
  required String password,
});
```







