Implemented side tree to devices and rountines screen

This commit is contained in:
Abdullah Alassaf
2025-01-04 17:45:15 +03:00
parent 0341844ea9
commit a98f7e77a3
88 changed files with 1551 additions and 1202 deletions

View File

@ -0,0 +1,30 @@
// import 'package:syncrow_web/pages/device_managment/all_devices/models/devices_model.dart';
// class RoutineItem {
// final AllDevicesModel device;
// final String? function;
// final dynamic value;
// RoutineItem({
// required this.device,
// this.function,
// this.value,
// });
// Map<String, dynamic> toMap() {
// return {
// 'device': device,
// 'function': function,
// 'value': value,
// };
// }
// factory RoutineItem.fromMap(Map<String, dynamic> map) {
// return RoutineItem(
// device: map['device'] as AllDevicesModel,
// function: map['function'],
// value: map['value'],
// );
// }
// }
// : uniqueCustomId = uniqueCustomId ?? const Uuid().v4()