disconnect method

void disconnect()

Disconnect from VPN

Implementation

void disconnect() {
  _tempDateTime = null;
  _channelControl.invokeMethod("disconnect");
  if (_vpnStatusTimer?.isActive ?? false) {
    _vpnStatusTimer?.cancel();
    _vpnStatusTimer = null;
  }
}