logout method Null safety

Future<void> logout()

Logout of Wialon

Implementation

Future<void> logout() async {
  await call(method: 'core/logout', parameters: {'action': 'logout'});

  _userId = null;
  sessionId = null;
}