getByValue static method

ImageQualityResultStatus? getByValue(
  1. int? i
)

Implementation

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