check method

bool check(
  1. String otp, [
  2. int breadth = 0
])

Chack a OTP value.

@param otp - The OTP value. @param breadth - The number of OTP values to check.

Implementation

bool check(String otp, [int breadth = 0]) => hotp.check(
      otp,
      counter: _create_counter(),
      breadth: breadth,
    );