[ Version ( since = "0.7.0" ) ]
public static DeviceFlags flag_from_string (string device_flag)
Converts a string to a DeviceFlags.
device_flag |
A string, e.g. `require-ac` |
enumerated value |