getSelectedWidget method

  1. @protected
String getSelectedWidget (String previousSelectionId, String groupName)
@protected

Returns a DiagnosticsNode representing the currently selected Element.

If the currently selected Element is identical to the Element referenced by previousSelectionId then the previous DiagnosticNode is reused.

Implementation

@protected
String getSelectedWidget(String previousSelectionId, String groupName) {
  return _safeJsonEncode(_getSelectedWidget(previousSelectionId, groupName));
}