restartTimer method

void restartTimer()

Implementation

void restartTimer() {
  // explicitly set it to 90 to allow the user to cancel the bottomsheet then enter the otp
  resendTimeout = 90;
  _controller.value = 0;
  _controller.forward();
  canResendOtp.add(false);
}