fromString

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

Return

StateName

Parameters

value

String is a string naming that represents the route state name.