signUp abstract method

Future<String> signUp({
  1. required DeliveryMethod method,
  2. required String loginId,
  3. SignUpDetails? details,
})

Authenticates a new user using an OTP

The OTP code will be sent to the user identified by loginId via a delivery method of choice.

Important: Make sure the delivery information corresponding with the delivery method is given either in the optional details parameter or as the loginId itself, i.e., the email address, phone number, etc.

Implementation

Future<String> signUp({required DeliveryMethod method, required String loginId, SignUpDetails? details});