getByValue static method

TouchPointState getByValue(
  1. int value
)

Implementation

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