getByValue static method

Implementation

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