getSceneList method Null safety
Get a list of scenes in the currently active profile.
Implementation
Future<SceneListResponse> getSceneList() async {
final response = await command('GetSceneList', null);
if (response == null) {
throw Exception('Problem getting current scene');
}
return SceneListResponse.fromJson(response.rawResponse);
}