curtain wizard

This commit is contained in:
mohammad
2024-10-08 17:02:24 +03:00
parent f2172bd6e8
commit e0049c0aec
16 changed files with 412 additions and 15 deletions

View File

@ -384,13 +384,15 @@ class DevicesAPI {
static Future deviceBatchController({
List<String>? devicesUuid,
String? code,
bool? value,
var value,
}) async {
print({"devicesUuid": devicesUuid, "code": code, "value": value});
final response = await _httpService.post(
path: ApiEndpoints.controlBatch,
body: {"devicesUuid": devicesUuid, "code": code, "value": value},
showServerMessage: true,
expectedResponseModel: (json) {
print('json-=-=-=-=-=-${json}');
return json;
},
);