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