logout method

Future<void> logout()
override

Logs the client out and deletes any security information that shouldn't be stored

Implementation

Future<void> logout() async {
  client?.close();
  client = null;
  authHeaders = null;
}