from static method
Implementation
static BiometricStatus? from(Object? source) {
return values.where((e) {
if (e == source) return true;
if (e.id == source) return true;
if (e.name == source) return true;
return false;
}).firstOrNull;
}