resetSession static method
Used for a new session of app or for logging a new user resetUser indicates whether the user identity should also be reset or whether the new session should retain the user from the current session not recommended to call when being closed!
Implementation
static Future<void> resetSession(bool resetUser) async {
await _channel.invokeMethod('resetSession', {"resetUser": resetUser});
}