SILResendPhoneCode constructor

const SILResendPhoneCode({
  1. required String phoneNumber,
  2. required Function resetTimer,
  3. required Widget loader,
  4. required dynamic client,
  5. required Function generateOtpFunc,
  6. required Function retrySendOtpEndpoint,
  7. required dynamic appWrapperContext,
  8. Function onOtpCallback = Navigator.pop,
  9. ResendVia resendVia = ResendVia.endpoint,
  10. Client? httpClient,
})

Implementation

const SILResendPhoneCode(
    {required this.phoneNumber,
    required this.resetTimer,
    required this.loader,
    required this.client,
    required this.generateOtpFunc,
    required this.retrySendOtpEndpoint,
    required this.appWrapperContext,
    this.onOtpCallback = Navigator.pop,
    this.resendVia = ResendVia.endpoint,
    this.httpClient});