fromValue

fun fromValue(value: String?): Device?(source)

Parse a device from its string value. Returns null for unrecognized values (graceful degradation).