valueOf static method

GenderType? valueOf(
  1. int value
)

Implementation

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