logout method

Future<void> logout()

Invalidate user's token and remove it from internal credentials, if exist.

Implementation

Future<void> logout() async {
  _alreadyAuthenticated = false;
  await methodChannel.invokeMethod("logout", {});
}