labelHidden static method

bool labelHidden(
  1. dynamic item
)

Implementation

static bool labelHidden(item) {
  if (item.containsKey('hiddenLabel')) {
    if (item['hiddenLabel'] is bool) {
      return !item['hiddenLabel'];
    }
  } else {
    return true;
  }
  return false;
}