Files
syncrow-app/lib/features/scene/model/smart_scene_enable.dart
2024-07-28 05:04:57 +03:00

24 lines
486 B
Dart

class SmartSceneEnable {
final String entityId;
final String actionExecutor;
SmartSceneEnable({
required this.entityId,
required this.actionExecutor,
});
factory SmartSceneEnable.fromJson(Map<String, dynamic> json) {
return SmartSceneEnable(
entityId: json['entityId'],
actionExecutor: json['actionExecutor'],
);
}
Map<String, dynamic> toJson() {
return {
'entityId': entityId,
'actionExecutor': actionExecutor,
};
}
}