flag_from_string
Description:
Converts a string to a DeviceFlags.
Parameters:
| device_flag |
A string, e.g. `require-ac` |
Returns:
|
enumerated value |
Converts a string to a DeviceFlags.
| device_flag |
A string, e.g. `require-ac` |
|
enumerated value |