cancelSession method
void
cancelSession()
Send an interrupt signal to cancel the current request on the remote session.
Implementation
void cancelSession() {
developer.log('Sending interrupt signal', name: 'RemoteSessionManager');
_websocket?.sendControlRequest({'subtype': 'interrupt'});
}