describeElement method Null safety

DiagnosticsNode describeElement(
  1. String name,
  2. {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:

Implementation

DiagnosticsNode describeElement(String name, {DiagnosticsTreeStyle style = DiagnosticsTreeStyle.errorProperty});