fromString

This method is used to convert a String to an RouteType. If the String is not found, the RouteType.UNKNOWN is returned.

Return

RouteType

Parameters

value

String is a string naming that represents the route type.