logout method
Send logout request to kuzzle with jwt.
Implementation
Future<void> logout() async => kuzzle
.query(KuzzleRequest(
controller: name,
action: 'logout',
))
.then((response) {
kuzzle.jwt = null;
});