Update: 2026-06-25 02:28:33

This commit is contained in:
Hamza-Ayed
2026-06-25 02:28:33 +03:00
parent 1ff13f09ac
commit 98a8a2ae3d
43 changed files with 992 additions and 812 deletions

View File

@@ -49,7 +49,7 @@ class NearbyDriversController extends GetxController {
},
);
if (res == 'failure') {
if (res == 'failure' || res is! Map) {
noCarString = true;
dataCarsLocationByPassenger = 'failure';
update();
@@ -57,7 +57,7 @@ class NearbyDriversController extends GetxController {
}
noCarString = false;
var responseData = jsonDecode(res);
var responseData = res;
dataCarsLocationByPassenger = responseData;
List driversList = [];