// 2οΈβ£ Make Sign Up Function
void signUp(BuildContext context) async {
var user = await cotter.signUpWithDevice(identifier: inputController.text);
// β
Add the lines from here
// (1) Verify the user's phone
// (2) Create the user if verification successful
var user = await cotter.signUpWithPhoneOTP(
redirectURL: "myexample://auth_callback",
channels: [PhoneChannel.SMS, PhoneChannel.WHATSAPP], // optional, default is SMS
// (3) Set up the current device as trusted
user = await user.registerDevice();