getByValue static method

MrzDetectionModes? getByValue(
  1. int? i
)

Implementation

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