getQRCodeUrl static method
appName
: App namesecretKey
: Secret key
Implementation
static String getQRCodeUrl(
{required String appName,
required String secretKey,
String? issuer = 'auth_otp'}) {
return 'https://api.qrserver.com/v1/create-qr-code/?data=otpauth://totp/$appName?secret=$secretKey&issuer=$issuer';
}