User Signup
You can add a new user to your Catalyst app by calling the signUp() method. You must pass the user instance defined here as the argument to the signup() method.
The code syntax for user signup is given below:
copyFuture<(APIResponse, ZCatalystUser)> signUp(ZCatalystUserDelegate newUser)
Parameters:
- newUser: The user instance created before this operation
A sample code snippet is shown below:
copyZCatalystApp.getInstance().newUser( firstName: 'Patricia', emailId: 'p.boyle@zylker.com', ); try { var (response, user) = await ZCatalystApp.getInstance().signUp(newUser); print('User ID: ${user.id}') } on ZCatalystException catch (ex) { print(ex.toString()); }
Last Updated 2024-09-12 18:16:13 +0530 +0530
Yes
No
Send your feedback to us
Skip
Submit