getByValue static method

MDLDocRequestPreset? getByValue(
  1. int? i
)

Implementation

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