flag_from_string


Description:

[ Version ( since = "0.7.0" ) ]
public static DeviceFlags flag_from_string (string? val)

Converts a string to an enumerated value.

Parameters:

val

a string, e.g. `internal`

Returns:

enumerated value