mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-16 18:16:34 +00:00
push add ac fucntions and handle doplicate adding to the then or if items
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
part of 'routine_bloc.dart';
|
||||
|
||||
class RoutineState extends Equatable {
|
||||
final List<Map<String, String>> ifItems;
|
||||
final List<Map<String, String>> thenItems;
|
||||
final List<Map<String, dynamic>> ifItems;
|
||||
final List<Map<String, dynamic>> thenItems;
|
||||
final List<Map<String, String>> availableCards;
|
||||
final List<ScenesModel> scenes;
|
||||
final List<ScenesModel> automations;
|
||||
@ -20,8 +20,8 @@ class RoutineState extends Equatable {
|
||||
});
|
||||
|
||||
RoutineState copyWith({
|
||||
List<Map<String, String>>? ifItems,
|
||||
List<Map<String, String>>? thenItems,
|
||||
List<Map<String, dynamic>>? ifItems,
|
||||
List<Map<String, dynamic>>? thenItems,
|
||||
List<ScenesModel>? scenes,
|
||||
List<ScenesModel>? automations,
|
||||
bool? isLoading,
|
||||
|
Reference in New Issue
Block a user