fromValue static method

ServiceReponseEncoding fromValue(
  1. int? value
)

Implementation

static ServiceReponseEncoding fromValue(int? value) {
  return values.firstWhere(
    (e) => e.value == value,
    orElse: () => throw ItemNotFoundException(name: "ServiceReponseEncoding"),
  );
}