isEnabled property
Returns true if device can use biometric.
Implementation
static Future<bool> get isEnabled async {
try {
final bmType = await type;
return bmType == BiometricType.FACE ||
bmType == BiometricType.FINGERPRINT ||
bmType == BiometricType.IRIS ||
bmType == BiometricType.MULTIPLE;
} on Exception {
return false;
}
}