valueOf static method

MyEnum? valueOf(
  1. int value
)

Implementation

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