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:

    
copy
Future<(APIResponse, ZCatalystUser)> signUp(ZCatalystUserDelegate newUser)

Parameters:

A sample code snippet is shown below:

    
copy
ZCatalystApp.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

ON THIS PAGE