push connecting to automation api

This commit is contained in:
ashrafzarkanisala
2024-11-26 11:34:40 +03:00
parent 9ddb9e61d3
commit 7ea628af92
14 changed files with 517 additions and 159 deletions

View File

@ -94,4 +94,25 @@ class ChangeAutomationOperator extends RoutineEvent {
List<Object> get props => [operator];
}
class EffectiveTimePeriodEvent extends RoutineEvent {
final EffectiveTime effectiveTime;
const EffectiveTimePeriodEvent(this.effectiveTime);
@override
List<Object> get props => [effectiveTime];
}
class CreateAutomationEvent extends RoutineEvent {
// final CreateAutomationModel createAutomationModel;
final String? automationId;
final bool updateAutomation;
const CreateAutomationEvent({
//required this.createAutomationModel,
this.automationId,
this.updateAutomation = false,
});
@override
List<Object> get props => [];
}
class ClearFunctions extends RoutineEvent {}