style property Null safety

DiagnosticsTreeStyle style
override

Hint for how the node should be displayed.

Implementation

@override
DiagnosticsTreeStyle get style {
  return kReleaseMode ? DiagnosticsTreeStyle.none : super.style ?? builder!.defaultDiagnosticsTreeStyle;
}