valueOf static method

MotorDirection? valueOf(
  1. int value
)

Implementation

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