Refactor return type of deviceByUuid API method in devices_api.dart

This commit is contained in:
mohammad
2025-04-28 16:11:07 +03:00
parent 6a27f863c3
commit d493000c20
+1 -1
View File
@@ -190,7 +190,7 @@ class DevicesAPI {
path: ApiEndpoints.deviceByUuid.replaceAll('{deviceUuid}', deviceId),
showServerMessage: false,
expectedResponseModel: (json) {
return json['data'];
return json['data'] as Map<String, dynamic>;
});
return response;
}