actionStatusFromString function

ActionStatus actionStatusFromString(
  1. String value
)

Implementation

ActionStatus actionStatusFromString(String value) {
  return ActionStatus.values.firstWhere(
      (e) => e.toString().split('.')[1].toUpperCase() == value.toUpperCase());
}