edgeEventActionTypeFromString function

EdgeEventActionType edgeEventActionTypeFromString(
  1. String value
)

Implementation

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