describeElement method

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

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);
}