Update: 2026-06-27 05:36:53
This commit is contained in:
@@ -554,6 +554,15 @@ class ScanDocumentsByApi extends GetxController {
|
||||
}
|
||||
}
|
||||
|
||||
if (responseString.isNotEmpty) {
|
||||
try {
|
||||
final decoded = jsonDecode(responseString);
|
||||
if (decoded['status'] == 'success' && decoded['message']['file_link'] != null) {
|
||||
box.write(BoxName.driverPhotoUrl, decoded['message']['file_link'].toString());
|
||||
}
|
||||
} catch (_) {}
|
||||
}
|
||||
|
||||
isLoading = false;
|
||||
update();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user