getSelectedWidget method Null safety

  1. @protected
String getSelectedWidget(
  1. String? previousSelectionId,
  2. String groupName
)
protected">@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 DiagnosticsNode is reused.

Implementation

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