endSession abstract method

void endSession({
  1. bool clearUserInfo = true,

Manually forces the end of the current session and starts a new session.

Only call this method if you have an application that will stay in the foreground for an extended time, such as a point-of-sale app.

If clearUserInfo is true, it clears any username, user ID, and email values set when ending the session.


void endSession({bool clearUserInfo = true});