Converts an enumValue to a string.
enumValue
String enumToString(Object enumValue) => enumValue.toString().split('.').last;