obsBrowserEvent method
Future<CallVendorRequestResponse>
obsBrowserEvent({
- required String eventName,
- dynamic eventData,
Helper method to send a VendorRequest specifically to the 'obs-browser' plugin.
Implementation
Future<CallVendorRequestResponse> obsBrowserEvent(
{required String eventName, dynamic eventData}) async =>
await callVendorRequest(
vendorName: 'obs-browser',
requestType: 'emit_event',
requestData: RequestData(eventName: eventName, eventData: eventData),
);