valueOf static method

Gender? valueOf(
  1. int value
)

Implementation

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