fromValue static method
Implementation
static ServiceReponseEncoding fromValue(int? value) {
return values.firstWhere(
(e) => e.value == value,
orElse:
() =>
throw BuError(
DefaultErrorType.notFound,
"No matching ServiceReponseEncoding found for the given value. null",
),
);
}