changePassword method
Implementation
Future<bool> changePassword({
required String currentPassword,
required String newPassword,
}) async {
try {
await _authService.changePassword(
currentPassword: currentPassword,
newPassword: newPassword,
);
return true;
} on DioException catch (e) {
_handleError(e);
return false;
}
}