valueOf static method

ErrorReason? valueOf(
  1. int value
)

Implementation

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