getType static method

BiometricType? getType(
  1. String? type
)

Implementation

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