disconnect method
Gracefully disconnect the active OpenConnect tunnel.
Implementation
Future<void> disconnect() async {
_tempDateTime = null;
_cancelStatusTimer();
try {
await _channelControl.invokeMethod('disconnect');
} on PlatformException catch (e) {
throw ArgumentError(e.message);
}
}