OTPConfig constructor

OTPConfig({
  1. num duration = 0,
  2. num length = 0,
  3. bool enabled = false,
  4. EmailTemplateConfig? emailTemplate,
})

Implementation

OTPConfig({
  this.duration = 0,
  this.length = 0,
  this.enabled = false,
  EmailTemplateConfig? emailTemplate,
}) : emailTemplate = emailTemplate ?? EmailTemplateConfig();