VerificationController constructor

VerificationController({
  1. required String to,
  2. required AuthyoResult sendResult,
  3. required int resendTimerSeconds,
  4. required AuthyoWidgetConfig config,
  5. int? otpLength,
  6. bool rememberMeEnabled = false,
  7. AuthyoService? service,
})

Implementation

VerificationController({
  required this.to,
  required AuthyoResult sendResult,
  required this.resendTimerSeconds,
  required this.config,
  this.otpLength,
  this.rememberMeEnabled = false,
  AuthyoService? service,
}) : _service = service ?? AuthyoService.instance {
  _adoptSendResult(sendResult);
}