setLocked method

Future<void> setLocked({
  1. required String sceneName,
  2. required int sceneItemId,
  3. required bool sceneItemLocked,
})

Sets the lock state of a scene item.

Scenes and Group

Complexity Rating: 3/5 Latest Supported RPC Version: 1 Added in v5.0.0

Implementation

Future<void> setLocked({
  required String sceneName,
  required int sceneItemId,
  required bool sceneItemLocked,
}) async =>
    setSceneItemLocked(
        sceneName: sceneName,
        sceneItemId: sceneItemId,
        sceneItemLocked: sceneItemLocked);