delegateForNode method Null safety
- DiagnosticsNode node
Returns the DiagnosticsSerializationDelegate to be used for adding the provided DiagnosticsNode to the serialization.
By default, this will return a copy of this delegate, which has the subtreeDepth reduced by one.
This is called for nodes that will be added to the serialization as property or child of another node. It may return the same delegate if no changes to it are necessary.
Implementation
DiagnosticsSerializationDelegate delegateForNode(DiagnosticsNode node);