getByValue static method

RoadEventActionState getByValue(
  1. int value
)

Implementation

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