mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 03:34:55 +00:00
Removed location from models
Added the spaces models Added the rooms models Added the Spaces cubit Implemented the home dropdown functionality
This commit is contained in:
@ -17,7 +17,6 @@ class LightModel extends DeviceModel {
|
||||
required super.name,
|
||||
required super.type,
|
||||
required super.status,
|
||||
required super.location,
|
||||
required super.image,
|
||||
required super.timer,
|
||||
});
|
||||
@ -33,7 +32,6 @@ class LightModel extends DeviceModel {
|
||||
'name': name,
|
||||
'status': status,
|
||||
'type': type,
|
||||
'location': location,
|
||||
'image': image,
|
||||
};
|
||||
}
|
||||
@ -48,7 +46,6 @@ class LightModel extends DeviceModel {
|
||||
lightingMode: json['lightingMode'],
|
||||
timer: json['timer'],
|
||||
type: json['type'],
|
||||
location: json['location'],
|
||||
image: json['image'],
|
||||
recentColors: json['recentColors'],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user