endSession method

void endSession()

Manually ends the current user session.

This method marks the end of the current session and can be used to control session boundaries manually.

Implementation

void endSession() {
  RudderSdkPlatform.instance.endSession();
}