fromValue static method
Implementation
static Language fromValue(int? value) {
return values.firstWhere(
(element) => element.value == value,
orElse: () => throw MessageException(
"No Language found matching the specified value",
details: {"value": value}),
);
}