from_string


Description:

[ Version ( since = "1.2.9" ) ]
public static VersionFormat from_string (string str)

Converts text to a display version type.

Parameters:

str

A string, e.g. `quad`

Returns:

A VersionFormat, e.g. fwupd_version_format_triplet