describeOwnershipChain method Null safety

DiagnosticsNode describeOwnershipChain(
  1. String name
)

Adds a description of the ownership chain from a specific Element to the error report.

The ownership chain is useful for debugging the source of an element.

Implementation

DiagnosticsNode describeOwnershipChain(String name);