sendVerificationCode method

Future<Result<OtpSentResponseData?>> sendVerificationCode({
  1. required String phoneNumber,
  2. bool notifications = false,
})

Send an OTP verification code to phoneNumber.

Set notifications to true to opt the user into marketing notifications.

Implementation

Future<Result<OtpSentResponseData?>> sendVerificationCode({
  required String phoneNumber,
  bool notifications = false,
}) async {
  return await ApiService.sendVerificationCode(phoneNumber, notifications);
}