resolveVisibility static method

Visibility resolveVisibility(
  1. String value
)

Implementation

static Visibility resolveVisibility(String value) {
  switch (value) {
    case HIDDEN:
      return Visibility.hidden;
    case VISIBLE:
    default:
      return Visibility.visible;
  }
}