parentId property

int get parentId

Optional. The id of the parent node if any.

Implementation

int get parentId {
  if (referencedNode.parentNode != null &&
      referencedNode.parentNode!.pointer != null) {
    return referencedNode.parentNode!.ownerView
        .forDevtoolsNodeId(referencedNode.parentNode!);
  } else {
    return 0;
  }
}