added api for forgot password

This commit is contained in:
llsajjad
2025-09-16 15:51:56 +03:30
parent 09ac79fd79
commit 69980925ad
13 changed files with 886 additions and 130 deletions
@@ -1,3 +1,4 @@
import 'package:tm_app/data/services/model/forgot_password_response/forgot_password_response_model.dart';
import 'package:tm_app/data/services/model/login_response/login_response_model.dart';
import '../../core/utils/result.dart';
@@ -24,4 +25,10 @@ class AuthRepository {
Future<void> localLogout() async {
return _authService.localLogout();
}
Future<Result<ForgotPasswordResponseModel>> forgotPassword({
required String email,
}) async {
return _authService.forgotPassword(email: email);
}
}