valueOf static method

PlatformType? valueOf(
  1. int value
)

Implementation

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