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