SILResendPhoneCode constructor
const
SILResendPhoneCode({
- required String phoneNumber,
- required Function resetTimer,
- required Widget loader,
- required dynamic client,
- required Function generateOtpFunc,
- required Function retrySendOtpEndpoint,
- required dynamic appWrapperContext,
- Function onOtpCallback = Navigator.pop,
- ResendVia resendVia = ResendVia.endpoint,
- 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});