Utility class for enums.
Returns the matching enum instance based on a input string.
Returns the matching enum instance based on a input string with a default value in case there is no match.
Returns the name or null.