verifyOtp static method

bool verifyOtp(
  1. String posSerial,
  2. String otp
)

True when otp was generated today for posSerial. UOtp.verifyOtp(serial, input)

Implementation

static bool verifyOtp(String posSerial, String otp) => _verify(posSerial, otp, admin: false);