describeElement method Null safety
- String name,
- {DiagnosticsTreeStyle style = DiagnosticsTreeStyle.errorProperty}
Returns a description of the Element associated with the current build context.
The name
is typically something like "The element being rebuilt was".
See also:
- Element.describeElements, which can be used to describe a list of elements.
Implementation
DiagnosticsNode describeElement(String name, {DiagnosticsTreeStyle style = DiagnosticsTreeStyle.errorProperty});