logout method

  1. @override
Future logout()
override

When a user logs out of your app, make sure to log out of Userleap. This will prevent new activity being associated with the wrong user.

Implementation

@override
Future logout() async {
  return await _channel.invokeMethod(Channels.LOGOUT);
}