getByValue static method

MatchFacesErrorCode? getByValue(
  1. int? i
)

Implementation

static MatchFacesErrorCode? getByValue(int? i) {
  if (i == null) return null;
  return MatchFacesErrorCode.values.firstWhere((x) => x.value == i);
}