useBiometric method
Updates the user's preference for biometric authentication.
The new setting is saved using the onWrite callback and updates the local state.
Implementation
@mustCallSuper
Future<void> useBiometric(bool isUse) async {
await onWrite?.writeBool(_createKey(PrefKeys.isUseBiometricKey), isUse);
_isUseBiometric = isUse;
}