valueOf method Null safety

EntityKind? valueOf(
  1. int value
)

Implementation

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