getByValue static method

AddEventError getByValue(
  1. int value
)

Implementation

static AddEventError getByValue(int value) {
  return AddEventError.values.firstWhere((x) => x.rawValue == value);
}