valueOf static method

KnownLabelValue? valueOf(
  1. String value
)

Implementation

static KnownLabelValue? valueOf(final String value) {
  for (final $value in values) {
    if ($value.value == value) {
      return $value;
    }
  }

  return null;
}