valueOf static method

DeviceType valueOf(
  1. String name
)

Implementation

static DeviceType valueOf(String name) => _$valueOf(name);