toggleOutput method
Toggles the status of an output.
- Complexity Rating: 4/5
- Latest Supported RPC Version: 1
- Added in v5.0.0
Implementation
Future<bool> toggleOutput(String outputName) async {
final response = await obsWebSocket.sendRequest(Request('ToggleOutput'));
return BooleanResponse.fromJson(response!.responseData!).enabled;
}