formatted all files.

This commit is contained in:
Faris Armoush
2025-06-12 15:33:32 +03:00
parent 29959f567e
commit 04250ebc98
474 changed files with 5425 additions and 4338 deletions

View File

@ -31,7 +31,7 @@ class AuthenticationAPI {
try {
final response = await HTTPService().post(
path: ApiEndpoints.forgetPassword,
body: {"email": email, "password": password, "otpCode": otpCode},
body: {'email': email, 'password': password, 'otpCode': otpCode},
showServerMessage: true,
expectedResponseModel: (json) {});
return response;
@ -45,7 +45,7 @@ class AuthenticationAPI {
static Future<int?> sendOtp({required String email}) async {
final response = await HTTPService().post(
path: ApiEndpoints.sendOtp,
body: {"email": email, "type": "PASSWORD"},
body: {'email': email, 'type': 'PASSWORD'},
showServerMessage: true,
expectedResponseModel: (json) {
return json['data']['cooldown'];
@ -58,7 +58,7 @@ class AuthenticationAPI {
try {
final response = await HTTPService().post(
path: ApiEndpoints.verifyOtp,
body: {"email": email, "type": "PASSWORD", "otpCode": otpCode},
body: {'email': email, 'type': 'PASSWORD', 'otpCode': otpCode},
showServerMessage: true,
expectedResponseModel: (json) {
if (json['message'] == 'Otp Verified Successfully') {