mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 19:24:54 +00:00
connect delete api
This commit is contained in:
@ -49,7 +49,7 @@ class CreateSceneModel {
|
||||
|
||||
Map<String, dynamic> toMap([String? sceneId]) {
|
||||
return {
|
||||
if (sceneId != null) 'unitUuid': unitUuid,
|
||||
if (sceneId == null) 'unitUuid': unitUuid,
|
||||
'sceneName': sceneName,
|
||||
'decisionExpr': decisionExpr,
|
||||
'actions': actions.map((x) => x.toMap()).toList(),
|
||||
|
||||
Reference in New Issue
Block a user