getByValue static method

DetectFacesScenario? getByValue(
  1. String? i
)

Implementation

static DetectFacesScenario? getByValue(String? i) {
  if (i == null) return null;
  return DetectFacesScenario.values.firstWhere((x) => x.value == i);
}