now method
Generate the TOTP value with current time.
TOTP totp = TOTP(secret: 'BASE32ENCODEDSECRET');
totp.now(); // => 432143
Implementation
String now() {
int _formatTime = Util.timeFormat(
time: DateTime.now(),
interval: interval!,
);
return super.generateOTP(input: _formatTime);
}