RemoteSession constructor
RemoteSession(
- Channel _channel,
- SessionMode mode
Creates a remote-session handle over the given channel.
Implementation
RemoteSession(this._channel, this.mode) {
_controlSub = _channel.control.listen(_onControl);
}