valueOf static method Null safety

ExitReason? valueOf(
  1. int value
)

Implementation

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