valueOf static method

GoAwayReason? valueOf(
  1. int value
)

Implementation

static GoAwayReason? valueOf($core.int value) => _byValue[value];