parse static method

MessageAction parse(
  1. int value
)

Implementation

static MessageAction parse(int value) {
  return MessageAction.values[actions.indexOf(value)];
}