AddEmailController constructor

AddEmailController(
  1. MyUserService _myUserService, {
  2. UserEmail? email,
  3. void pop()?,
  4. bool timeout = false,
})

Implementation

AddEmailController(
  this._myUserService, {
  this.email,
  this.pop,
  bool timeout = false,
}) : page = Rx(email == null ? AddEmailPage.add : AddEmailPage.confirm) {
  if (timeout) {
    _setResendEmailTimer();
  }
}