getSelectedWidget method

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

Returns a DiagnosticsNode representing the currently selected Element.

Implementation

@protected
String getSelectedWidget(String? previousSelectionId, String groupName) {
  if (previousSelectionId != null) {
    debugPrint('previousSelectionId is deprecated in API');
  }
  return _safeJsonEncode(_getSelectedWidget(null, groupName));
}