hasSomethingToDisplay method

bool hasSomethingToDisplay(
  1. Product product
)

Implementation

bool hasSomethingToDisplay(Product product) {
  if (elements == null) {
    return false;
  }
  for (final KnowledgePanelElement element in elements!) {
    if (element.hasSomethingToDisplay(product)) {
      return true;
    }
  }
  return false;
}