getByValue static method

LivenessSkipStep? getByValue(
  1. int? i
)

Implementation

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