describeElement method

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

Implementation

@override
DiagnosticsNode describeElement(String name, {DiagnosticsTreeStyle style = DiagnosticsTreeStyle.errorProperty}) {
  return DiagnosticsProperty<Element>(name, this, style: style);
}