Files
syncrow-app/lib/features/scene/model
mohammad 7005d8ba83 Refactor device filtering logic and improve code readability
- Extracted the logic for filtering implemented devices into a separate method `_getOnlyImplementedDevices`
- Created a set `allowedDevices` to store the allowed device types
- Updated the filtering logic to use the `allowedDevices` set for checking device types
- Removed unnecessary conditions for filtering devices

Fix nullability issues in `Action` model

- Added null checks for `actionExecutor`, `entityId`, `name`, `type`, and `productType` properties in the `fromJson` method of the `Action` model
- Set default values for `actionExecutor` and `entityId` if they are null
- Updated the type casting for `name`, `type`, and `productType` properties to avoid potential nullability issues
2025-04-17 10:16:10 +03:00
..
2024-11-02 23:10:24 +04:00
2024-12-02 14:27:47 +03:00
2024-10-27 17:16:37 +03:00
2024-08-04 16:41:13 +03:00
2024-11-02 23:10:24 +04:00
2024-08-01 03:11:03 +03:00