logout method
logout will try to logout only if We are connected and already logged in
Implementation
Future<void> logout() async {
try {
if (isConnected && await _wppAuth.isAuthenticated()) {
await _wppAuth.logout();
}
} catch (e) {
WhatsappLogger.log(e);
}
}