resolveContentVisibility static method

ContentVisibility resolveContentVisibility(
  1. String value
)

Implementation

static ContentVisibility resolveContentVisibility(String value) {
  switch(value) {
    case HIDDEN:
      return ContentVisibility.hidden;
    case AUTO:
      return ContentVisibility.auto;
    case VISIBLE:
    default:
      return ContentVisibility.visible;
  }
}