getCurrentCode property

int get getCurrentCode

Implementation

int get getCurrentCode => OTP.generateTOTPCode(
    _internalSecret, DateTime.now().millisecondsSinceEpoch,
    algorithm: algorithm,
    interval: interval,
    isGoogle: isGoogle,
    length: keyLength);