describeElement method

  1. @override
DiagnosticsNode describeElement (
  1. String name,
  2. {DiagnosticsTreeStyle style: DiagnosticsTreeStyle.errorProperty}
)
inherited

Returns a description of an Element from the current build context.

Implementation

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