valueOf static method

VoteOption? valueOf(
  1. int value
)

Implementation

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