from

fun from(versionString: String): Version?

Parses a version string into a Version object.

The provided version string should follow the semantic versioning format (major.minor.patch) with an optional qualifier for alpha or beta releases. For example, "1.0.0", "1.0.0-alpha1", or "1.0.0-beta2".

Return

A Version object representing the parsed version, or null if the provided string is not a valid version format.

Parameters

versionString

The version string to parse.