setPersistentData method
Sets the value of a "slot" from the selected persistent data realm.
- Complexity Rating: 2/5
- Latest Supported RPC Version: 1
- Added in v5.0.0
Implementation
Future<void> setPersistentData(
{required String realm,
required String slotName,
required dynamic slotValue}) async =>
await obsWebSocket.sendRequest(Request(
'SetPersistentData',
requestData: {
'realm': realm,
'slotName': slotName,
'slotValue': slotValue
},
));