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