getType static method
Implementation
static BiometricType? getType(String? type) {
switch (type) {
case Type.photo:
return BiometricType.photo;
case Type.video:
return BiometricType.video;
default:
return null;
}
}
static BiometricType? getType(String? type) {
switch (type) {
case Type.photo:
return BiometricType.photo;
case Type.video:
return BiometricType.video;
default:
return null;
}
}