children property Null safety

Iterable<Element> children
protected">@protectedvisibleForTesting">@visibleForTesting

The current list of children of this element.

This list is filtered to hide elements that have been forgotten (using forgetChild).

Implementation

@protected
@visibleForTesting
Iterable<Element> get children => _children.where((Element child) => !_forgottenChildren.contains(child));