mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 23:44:53 +00:00
push dialog changes in values
This commit is contained in:
@ -81,7 +81,7 @@ class CreateSceneModel {
|
||||
class CreateSceneAction {
|
||||
String entityId;
|
||||
String actionExecutor;
|
||||
CreateSceneExecutorProperty executorProperty;
|
||||
CreateSceneExecutorProperty? executorProperty;
|
||||
|
||||
CreateSceneAction({
|
||||
required this.entityId,
|
||||
@ -105,7 +105,8 @@ class CreateSceneAction {
|
||||
return {
|
||||
'entityId': entityId,
|
||||
'actionExecutor': actionExecutor,
|
||||
'executorProperty': executorProperty.toMap(actionExecutor),
|
||||
if (executorProperty != null)
|
||||
'executorProperty': executorProperty?.toMap(actionExecutor),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user