failedPasscodeDataDeletionDetails method
A SOD that automatically deletes data after failed attempts
Implementation
SafetyOptionDetails failedPasscodeDataDeletionDetails() {
return SafetyOptionDetails(
name: 'Delete data after failed log-in attempts.',
description:
'Automatically deletes all usuable data on ${resourceValues.name} if you enter your password or code incorrectly more than 10 times.',
icon: Assets.alert,
functionalityChange:
'You will not be able to retrieve any account data after it has been deleted. To continue using ${resourceValues.name}, you will need to re-set up an account from scratch.');
}