getByValue static method

DetectFacesAttribute? getByValue(
  1. String? i
)

Implementation

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