valueOf static method

LeaveReason? valueOf(
  1. int value
)

Implementation

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