User Logout
The logout() method can log an app user out from the Catalyst Flutter app.
The code syntax for user logout is given below:
copyZCatalystApp.getInstance().logout( void Function() onSuccess, void Function(ZCatalystException) onFailed )
A sample code snippet is shown below:
copyZCatalystApp.getInstance().logout(onSuccess: () { print('Logout Success'); //Actions to be executed upon a successful logout }, onFailed: (ZCatalystException exception) { print('Logout failed: $exception'); //Actions to be executed upon failure });
Last Updated 2023-09-03 11:54:50 +0530 +0530
Yes
No
Send your feedback to us
Skip
Submit