fromValue static method
Implementation
static MessagesOptions? fromValue(int value) {
for (final option in MessagesOptions.values) {
if (option.value == value) {
return option;
}
}
return null;
}
static MessagesOptions? fromValue(int value) {
for (final option in MessagesOptions.values) {
if (option.value == value) {
return option;
}
}
return null;
}