from

fun from(type: String?): TMEnvironment?

Retrieves the TMEnvironment enum value corresponding to the given type string.

Return

The matching TMEnvironment value, or null if no match is found.

Parameters

type

The string representation of the environment (case-sensitive).