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