simpleEnumToString<T> function
Simple enum to String function, just takes whatever is after the "." and returns it as a String
Implementation
String? simpleEnumToString<T>(T enumValue) =>
enumValue?.toString().split('.').last;