The callback triggered your OTP resend logic
typedef ResendOtpCallback = Future<String?>? Function(LoginData);