containsKey method

bool containsKey(
  1. String? k
)

True se key corrisponde a questa destinazione o a un suo discendente. Usato per evidenziare/espandere gruppi quando un figlio รจ attivo.

Implementation

bool containsKey(String? k) {
  if (k == null) return false;
  if (k == key) return true;
  for (final c in children) {
    if (c.containsKey(k)) return true;
  }
  return false;
}