actionTypeFromString function
Implementation
ActionType actionTypeFromString(String value) {
return ActionType.values.firstWhere(
(e) => e.toString().split('.')[1].toUpperCase() == value.toUpperCase());
}
ActionType actionTypeFromString(String value) {
return ActionType.values.firstWhere(
(e) => e.toString().split('.')[1].toUpperCase() == value.toUpperCase());
}