valueOf static method

KnownInfoName? valueOf(
  1. String? value
)

Returns KnownInfoName associated with value, otherwise null.

Implementation

static KnownInfoName? valueOf(final String? value) {
  if (value == null) return null;

  for (final $value in values) {
    if ($value.value == value) {
      return $value;
    }
  }

  return null;
}