fromValue static method
Implementation
static ServiceProtocol fromValue(int? value) {
return values.firstWhere(
(e) => e.id == value,
orElse: () => throw ItemNotFoundException(),
);
}
static ServiceProtocol fromValue(int? value) {
return values.firstWhere(
(e) => e.id == value,
orElse: () => throw ItemNotFoundException(),
);
}