TotpSetupDetails constructor

const TotpSetupDetails({
  1. required String sharedSecret,
  2. required String username,
})

The TOTP secret code and QR code, used to set up an authenticator for TOTP MFA.

Implementation

const TotpSetupDetails({
  required this.sharedSecret,
  required String username,
}) : _username = username;