describeElement method Null safety
- String name,
- {DiagnosticsTreeStyle style = DiagnosticsTreeStyle.errorProperty}
override
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
@override
DiagnosticsNode describeElement(String name, {DiagnosticsTreeStyle style = DiagnosticsTreeStyle.errorProperty}) {
return DiagnosticsProperty<Element>(name, this, style: style);
}