filterChildren method Null safety
- List<
DiagnosticsNode> nodes, - DiagnosticsNode owner
Filters the list of DiagnosticsNode
s that will be included as children
for the given owner
node.
The callback may return a subset of the children in the provided list or replace the entire list with new child nodes.
See also:
- subtreeDepth, which controls how many levels of children will be included in the serialization.
Implementation
List<DiagnosticsNode> filterChildren(List<DiagnosticsNode> nodes, DiagnosticsNode owner);