getSceneItemProperties method Null safety
- String? sceneName
Gets the scene specific properties of the specified source item. Coordinates are relative to the item's parent (the scene or group it belongs to).
Implementation
Future<SceneItemPropertyResponse> getSceneItemProperties(
String? sceneName,
) async {
final response =
await command('GetSceneItemProperties', {'scene-name': sceneName});
if (response == null) {
throw Exception('Problem getting audio response');
}
return SceneItemPropertyResponse.fromJson(response.rawResponse);
}