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