mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-14 17:25:47 +00:00
Add functionality to fetch devices by room ID
Added a new method in DevicesCubit to fetch devices by room ID and updated related classes and API calls to support this functionality.
This commit is contained in:
@ -16,6 +16,7 @@ abstract class ApiEndpoints {
|
||||
|
||||
// Devices
|
||||
static const String control = '$baseUrl/device/control';
|
||||
static const String devicesByRoom = '$baseUrl/device/room';
|
||||
|
||||
//groups
|
||||
static const String groups = '$baseUrl/group';
|
||||
|
Reference in New Issue
Block a user