getByValue static method

Gesture getByValue(
  1. int value
)

Implementation

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