requestExit method
void
requestExit()
Requests that the interactive session terminate (closing the remote shell).
Implementation
void requestExit() => _exitRequested = true;
Requests that the interactive session terminate (closing the remote shell).
void requestExit() => _exitRequested = true;