getStats method
Gets statistics about OBS, obs-websocket, and the current session.
- Complexity Rating: 2/5
- Latest Supported RPC Version: 1
- Added in v5.0.0
Implementation
Future<StatsResponse> getStats() async {
final response = await obsWebSocket.sendRequest(Request('GetStats'));
return StatsResponse.fromJson(response!.responseData!);
}