getSelectedRenderObject method Null safety

  1. @protected
String getSelectedRenderObject(
  1. String previousSelectionId,
  2. String groupName
)
protected">@protected

Returns a DiagnosticsNode representing the currently selected RenderObject.

If the currently selected RenderObject is identical to the RenderObject referenced by previousSelectionId then the previous DiagnosticsNode is reused.

Implementation

@protected
String getSelectedRenderObject(String previousSelectionId, String groupName) {
  return _safeJsonEncode(_getSelectedRenderObject(previousSelectionId, groupName));
}