valueOf static method
Implementation
static LabelPreference? valueOf(final String value) {
for (final $value in values) {
if ($value.name == value) {
return $value;
}
}
return null;
}
static LabelPreference? valueOf(final String value) {
for (final $value in values) {
if ($value.name == value) {
return $value;
}
}
return null;
}