changePassword abstract method
If isExpired is true, it changes an expired password (using the
expired/first-time login session). Otherwise, it performs a normal
password change (from settings) and requires currentPassword.
Implementation
Future<void> changePassword({
required String newPassword,
String? currentPassword,
bool isExpired = false,
});