getByValue static method

ActionResult getByValue(
  1. int value
)

Implementation

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