getByValue static method

DesiredAccuracy getByValue(
  1. int value
)

Implementation

static DesiredAccuracy getByValue(int value) {
  return DesiredAccuracy.values.firstWhere((x) => x.rawValue == value);
}