getByValue static method

DocReaderAction? getByValue(
  1. int? i
)

Implementation

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