fromName static method
Return the name of the enum
Implementation
static String fromName(String name) {
var listValues = StatusTransactionEnum.values.where((e) => e.name == name);
if (listValues.isEmpty) {
return name;
} else {
return listValues.first.value;
}
}