requestScreenRecordingPermission method
Requests permission to record the screen.
On macOS, this will trigger a system dialog or open the Privacy settings.
Implementation
Future<void> requestScreenRecordingPermission() async {
await _channel.invokeMethod('requestScreenRecordingPermission');
}