getParentChain method

  1. @protected
String getParentChain (String id, String groupName)
@protected

Returns JSON representing the chain of DiagnosticsNode instances from root of thee tree to the Element or RenderObject matching id.

The JSON contains all information required to display a tree view with all nodes other than nodes along the path collapsed.

Implementation

@protected
String getParentChain(String id, String groupName) {
  return _safeJsonEncode(_getParentChain(id, groupName));
}