SetAuthenticationPhoneNumber constructor

const SetAuthenticationPhoneNumber({
  1. required String phoneNumber,
  2. PhoneNumberAuthenticationSettings? settings,
})

Sets the phone number of the user and sends an authentication code to the user. Works only when the current authorization state is authorizationStateWaitPhoneNumber,. or if there is no pending authentication query and the current authorization state is authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword

Implementation

const SetAuthenticationPhoneNumber({
  required this.phoneNumber,
  this.settings,
});