List<Child> get internalChildren { var internalList = <Child>[]; for (Child child in children.whereType<Child>()) { if (child.internal) { internalList.add(child); } } return internalList; }