push adding the selected functiond and device to then container

This commit is contained in:
ashrafzarkanisala
2024-11-23 01:39:05 +03:00
parent 53eb18c075
commit 5e91d7c03a
7 changed files with 32 additions and 20 deletions

View File

@ -43,9 +43,9 @@ class LoadAutomation extends RoutineEvent {
List<Object> get props => [unitId];
}
class AddFunction extends RoutineEvent {
class AddFunctionToRoutine extends RoutineEvent {
final DeviceFunctionData function;
const AddFunction(this.function);
const AddFunctionToRoutine(this.function);
@override
List<Object> get props => [function];
}